Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.778/1.778, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001048, allocations: 178.4 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007488/0.0007487, allocations: 80.08 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 11.81 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.165, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.00134/0.1664, allocations: 1.144 MB / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.1667, allocations: 121.8 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.1667, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1668, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.292e-05/0.1669, allocations: 7.922 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.019e-05/0.1669, allocations: 8 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.167, allocations: 51.84 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.1671, allocations: 7.984 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.1672, allocations: 15.92 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.1672, allocations: 19.86 kB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1672, allocations: 4 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.1672, allocations: 0 / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1673, allocations: 11.98 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.1673, allocations: 33.58 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.04e-05/0.1674, allocations: 31.94 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1674, allocations: 0 / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1674, allocations: 0 / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1674, allocations: 0 / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000472/0.1679, allocations: 371.6 kB / 0.9032 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1679, allocations: 12.03 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.168, allocations: 4.938 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.912e-05/0.168, allocations: 168.3 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1681, allocations: 4.375 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1681, allocations: 4.375 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.1683, allocations: 86.2 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1683, allocations: 4.125 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1684, allocations: 3.938 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1684, allocations: 3.984 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.1686, allocations: 83.94 kB / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.1689, allocations: 265 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1691, allocations: 74.47 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1693, allocations: 48.92 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.1693, allocations: 3.938 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.1693, allocations: 34.56 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1693, allocations: 0 / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005007/0.1698, allocations: 161.5 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.1699, allocations: 59.41 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.1699, allocations: 109.8 kB / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.17, allocations: 25.7 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.17, allocations: 88.08 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.17, allocations: 11.89 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.17, allocations: 0 / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.1701, allocations: 314.8 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1702, allocations: 47.91 kB / 0.9048 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1703, allocations: 43.95 kB / 0.9048 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.1706, allocations: 92.78 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1706, allocations: 3.938 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002929/0.1709, allocations: 121.5 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1709, allocations: 8 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1709, allocations: 3.938 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.171, allocations: 0 / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1711, allocations: 23.98 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1711, allocations: 0 / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.1712, allocations: 23.97 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1712, allocations: 3.938 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.1713, allocations: 109.8 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1713, allocations: 4 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.1713, allocations: 7.906 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1713, allocations: 0 / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1713, allocations: 0 / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1713, allocations: 8 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1714, allocations: 169.6 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1715, allocations: 4 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.343e-05/0.1716, allocations: 15.98 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1716, allocations: 0 / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1716, allocations: 4 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1716, allocations: 0 / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1716, allocations: 0 / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.1719, allocations: 227.6 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.172, allocations: 85.08 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.172, allocations: 0 / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1721, allocations: 15.98 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1721, allocations: 7.984 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1721, allocations: 4 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.1722, allocations: 91.28 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1722, allocations: 0 / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001918/0.1724, allocations: 4 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.1725, allocations: 99.25 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1728, allocations: 87.92 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1728, allocations: 0 / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.173, allocations: 59.89 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1732, allocations: 13.59 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.1735, allocations: 170.1 kB / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.765e-05/0.1736, allocations: 0.6848 MB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.1737, allocations: 11.44 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.1737, allocations: 0 / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.001654/0.1753, allocations: 0.729 MB / 0.9076 GB, free: 56.78 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)