Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 91.61 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009527/0.009527, allocations: 170.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.714/2.714, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.000423, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9357/0.9362, allocations: 142.4 MB / 0.9551 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003152/0.9394, allocations: 2.262 MB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.9417, allocations: 0.8838 MB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.9421, allocations: 9.781 kB / 0.9581 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.9424, allocations: 47.36 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.9425, allocations: 43.73 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.9434, allocations: 294 kB / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.9439, allocations: 0.5364 MB / 0.959 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.9445, allocations: 271.5 kB / 0.9593 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.9447, allocations: 142.2 kB / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.9449, allocations: 156.6 kB / 0.9596 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.945, allocations: 14.41 kB / 0.9596 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.9451, allocations: 27.11 kB / 0.9596 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.9451, allocations: 61.05 kB / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.9454, allocations: 212.2 kB / 0.9599 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005868/0.9459, allocations: 0.6686 MB / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.946, allocations: 0 / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.14e-06/0.946, allocations: 9.359 kB / 0.9605 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.946, allocations: 0 / 0.9605 GB, free: 3.352 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001319/0.9473, allocations: 0.688 MB / 0.9612 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/0.9474, allocations: 9.625 kB / 0.9612 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.9475, allocations: 55.78 kB / 0.9613 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.9481, allocations: 378.8 kB / 0.9616 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.9482, allocations: 40.27 kB / 0.9617 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.9483, allocations: 43.28 kB / 0.9617 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009107/0.9492, allocations: 436.3 kB / 0.9621 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.9493, allocations: 3.938 kB / 0.9621 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.9493, allocations: 21.06 kB / 0.9621 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.9493, allocations: 9.875 kB / 0.9622 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.9501, allocations: 324 kB / 0.9625 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.9523, allocations: 1.434 MB / 0.9639 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.953, allocations: 263.8 kB / 0.9641 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.9533, allocations: 116.5 kB / 0.9642 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.9533, allocations: 3.5 kB / 0.9642 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004073/0.9537, allocations: 212.9 kB / 0.9644 GB, free: 392 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/0.9537, allocations: 0 / 0.9644 GB, free: 392 kB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007588/0.9545, allocations: 339.1 kB / 0.9648 GB, free: 220 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.9546, allocations: 135.3 kB / 0.9649 GB, free: 56 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.9551, allocations: 413.2 kB / 0.9653 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.9551, allocations: 37.48 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.9553, allocations: 240.8 kB / 0.9655 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.9554, allocations: 81.38 kB / 0.9656 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.9555, allocations: 38 kB / 0.9657 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.9557, allocations: 347 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.956, allocations: 123.9 kB / 0.9661 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.9563, allocations: 196.1 kB / 0.9663 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.957, allocations: 294 kB / 0.9666 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.957, allocations: 1 kB / 0.9666 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009611/0.9579, allocations: 422.7 kB / 0.967 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.9581, allocations: 156.5 kB / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.9581, allocations: 1.031 kB / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.9581, allocations: 3.094 kB / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.9584, allocations: 63.56 kB / 0.9672 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.9585, allocations: 2.906 kB / 0.9672 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.9589, allocations: 91.44 kB / 0.9673 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.959, allocations: 14.75 kB / 0.9673 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.959, allocations: 7.906 kB / 0.9673 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007136/0.9597, allocations: 367.9 kB / 0.9677 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.9598, allocations: 1.188 kB / 0.9677 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.9598, allocations: 1.844 kB / 0.9677 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.96, allocations: 59.06 kB / 0.9677 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.96, allocations: 6.688 kB / 0.9677 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.9604, allocations: 81.36 kB / 0.9678 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.9604, allocations: 11.31 kB / 0.9678 GB, free: 13.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002925/0.9607, allocations: 249.3 kB / 0.968 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.9608, allocations: 37.06 kB / 0.9681 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.9615, allocations: 302.1 kB / 0.9684 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.9615, allocations: 3.281 kB / 0.9684 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9615, allocations: 4 kB / 0.9684 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.9616, allocations: 3.984 kB / 0.9684 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.9627, allocations: 0.7822 MB / 0.9691 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9627, allocations: 4.75 kB / 0.9691 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.963, allocations: 47.59 kB / 0.9692 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.963, allocations: 5.25 kB / 0.9692 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.963, allocations: 6.594 kB / 0.9692 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.963, allocations: 1.344 kB / 0.9692 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.963, allocations: 0 / 0.9692 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/0.9639, allocations: 0.5079 MB / 0.9697 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.9641, allocations: 126.1 kB / 0.9698 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.9641, allocations: 6.844 kB / 0.9698 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.9643, allocations: 19.98 kB / 0.9698 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.9644, allocations: 20.09 kB / 0.9699 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.9644, allocations: 6.125 kB / 0.9699 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003663/0.9648, allocations: 290.8 kB / 0.9702 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9648, allocations: 4.062 kB / 0.9702 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000618/0.9654, allocations: 156 kB / 0.9703 GB, free: 12.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002019/0.9656, allocations: 115.3 kB / 0.9704 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.9667, allocations: 0.5703 MB / 0.971 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9668, allocations: 1.031 kB / 0.971 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.967, allocations: 121.8 kB / 0.9711 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.9676, allocations: 70.3 kB / 0.9712 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.969, allocations: 0.8182 MB / 0.972 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.9695, allocations: 0.8141 MB / 0.9727 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.9697, allocations: 51.11 kB / 0.9728 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.9698, allocations: 38.19 kB / 0.9728 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.9698, allocations: 0 / 0.9728 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.01096/0.9808, allocations: 4.541 MB / 0.9773 GB, free: 8.062 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches