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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001038/0.001038, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.2 kB / 16.92 MB, free: 6.895 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8792, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.002679/0.8819, allocations: 2.258 MB / 0.9579 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.8835, allocations: 0.8875 MB / 0.9588 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.8837, allocations: 11.25 kB / 0.9588 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.8839, allocations: 41.58 kB / 0.9588 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.884, allocations: 41.31 kB / 0.9589 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.8847, allocations: 292.8 kB / 0.9592 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.8852, allocations: 0.541 MB / 0.9597 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.8857, allocations: 274.3 kB / 0.9599 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.8859, allocations: 143.2 kB / 0.9601 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.8861, allocations: 158.9 kB / 0.9602 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.8862, allocations: 16.53 kB / 0.9603 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.8863, allocations: 29.27 kB / 0.9603 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.8863, allocations: 61.39 kB / 0.9603 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.8865, allocations: 212.3 kB / 0.9605 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.8869, allocations: 0.5634 MB / 0.9611 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.887, allocations: 0 / 0.9611 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.887, allocations: 0 / 0.9611 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.887, allocations: 1.375 kB / 0.9611 GB, free: 3.473 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.001051/0.888, allocations: 0.6894 MB / 0.9618 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.8881, allocations: 8.25 kB / 0.9618 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.8882, allocations: 59.72 kB / 0.9618 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.8887, allocations: 388.1 kB / 0.9622 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/0.8888, allocations: 35.88 kB / 0.9622 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.8889, allocations: 47.16 kB / 0.9623 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/0.8896, allocations: 428.3 kB / 0.9627 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.8897, allocations: 4.969 kB / 0.9627 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.8897, allocations: 19.95 kB / 0.9627 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.8897, allocations: 10 kB / 0.9627 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/0.8903, allocations: 320.7 kB / 0.963 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.8923, allocations: 1.433 MB / 0.9644 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.8929, allocations: 262.6 kB / 0.9647 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.8932, allocations: 121.3 kB / 0.9648 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.8932, allocations: 6.406 kB / 0.9648 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.8935, allocations: 216.9 kB / 0.965 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.8936, allocations: 0 / 0.965 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007484/0.8943, allocations: 339.9 kB / 0.9653 GB, free: 332 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.8944, allocations: 136 kB / 0.9655 GB, free: 168 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.8949, allocations: 411.3 kB / 0.9659 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.8949, allocations: 34.02 kB / 0.9659 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.8951, allocations: 229 kB / 0.9661 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.8952, allocations: 88.55 kB / 0.9662 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.8953, allocations: 38.48 kB / 0.9662 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.8955, allocations: 346.9 kB / 0.9666 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.8958, allocations: 127.3 kB / 0.9667 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.8961, allocations: 192.2 kB / 0.9669 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.8967, allocations: 291.2 kB / 0.9671 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8967, allocations: 0 / 0.9671 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008827/0.8976, allocations: 426.5 kB / 0.9675 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.8977, allocations: 159.6 kB / 0.9677 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8977, allocations: 5.406 kB / 0.9677 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8978, allocations: 3.406 kB / 0.9677 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.898, allocations: 59.62 kB / 0.9678 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.8981, allocations: 2 kB / 0.9678 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.8985, allocations: 87.89 kB / 0.9678 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.8985, allocations: 18.58 kB / 0.9679 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.8986, allocations: 5.438 kB / 0.9679 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006836/0.8992, allocations: 359.7 kB / 0.9682 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-06/0.8993, allocations: 0.9688 kB / 0.9682 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.8993, allocations: 3.125 kB / 0.9682 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.8995, allocations: 62.45 kB / 0.9683 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8995, allocations: 3 kB / 0.9683 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.8999, allocations: 86.7 kB / 0.9684 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.8999, allocations: 19.02 kB / 0.9684 GB, free: 14.09 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.0002453/0.9002, allocations: 241.5 kB / 0.9686 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.9003, allocations: 37.78 kB / 0.9686 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.901, allocations: 313.6 kB / 0.9689 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.901, allocations: 3.25 kB / 0.9689 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.901, allocations: 0 / 0.9689 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.901, allocations: 4.969 kB / 0.969 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.9023, allocations: 0.7774 MB / 0.9697 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9023, allocations: 4.781 kB / 0.9697 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.9025, allocations: 51.48 kB / 0.9698 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.9025, allocations: 5.016 kB / 0.9698 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.9025, allocations: 7.094 kB / 0.9698 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.9026, allocations: 1.156 kB / 0.9698 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9026, allocations: 0 / 0.9698 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009758/0.9035, allocations: 0.5003 MB / 0.9703 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.9037, allocations: 126.4 kB / 0.9704 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.9037, allocations: 5.781 kB / 0.9704 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.9039, allocations: 28.19 kB / 0.9704 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.904, allocations: 12.89 kB / 0.9704 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.904, allocations: 14.45 kB / 0.9704 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003409/0.9044, allocations: 289.7 kB / 0.9707 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9044, allocations: 0 / 0.9707 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005443/0.9049, allocations: 152.7 kB / 0.9709 GB, free: 12.32 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.0002267/0.9052, allocations: 117.1 kB / 0.971 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.9063, allocations: 0.5745 MB / 0.9715 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9063, allocations: 1.062 kB / 0.9715 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.9066, allocations: 121.5 kB / 0.9717 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.9071, allocations: 70.36 kB / 0.9717 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.9084, allocations: 0.8479 MB / 0.9726 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.909, allocations: 0.8148 MB / 0.9733 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.9091, allocations: 39.3 kB / 0.9734 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.9091, allocations: 0 / 0.9734 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.008896/0.918, allocations: 4.944 MB / 0.9782 GB, free: 7.781 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/jenkins1/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