Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001133/0.001133, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01117/0.01117, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.585/1.585, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.977/2.977, allocations: 462.7 MB / 0.7364 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 16 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4153, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003726/0.4191, allocations: 2.26 MB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.4216, allocations: 0.9037 MB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.4223, allocations: 11.94 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.4228, allocations: 47.58 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.4233, allocations: 43.66 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.4246, allocations: 290.7 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.4257, allocations: 0.536 MB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007259/0.4264, allocations: 275.6 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.4269, allocations: 143.3 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.4273, allocations: 162.9 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.4274, allocations: 16 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.4276, allocations: 31.98 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.4277, allocations: 51.7 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.4281, allocations: 216.4 kB / 1.064 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.429, allocations: 0.6736 MB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4291, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.937e-06/0.4291, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.446e-05/0.4291, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 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.00183/0.431, allocations: 0.6802 MB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.099e-05/0.431, allocations: 12.03 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.4313, allocations: 48.38 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.4322, allocations: 388.4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.4323, allocations: 41.36 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4324, allocations: 40.38 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.4334, allocations: 438.7 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.4334, allocations: 3.938 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.4335, allocations: 16 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.4335, allocations: 12 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/0.4344, allocations: 319.8 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.4373, allocations: 1.432 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007543/0.4381, allocations: 262.8 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.4383, allocations: 120.8 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.4384, allocations: 16.05 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/0.4389, allocations: 200.2 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.4389, allocations: 0 / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.0009051/0.4398, allocations: 343.5 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.44, allocations: 144.5 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.4406, allocations: 413.5 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.4406, allocations: 33.7 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.4409, allocations: 232 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.441, allocations: 82.89 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4411, allocations: 41.64 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.4412, allocations: 346.8 kB / 1.07 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.4416, allocations: 132.2 kB / 1.07 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.4419, allocations: 192.6 kB / 1.07 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.4425, allocations: 291.5 kB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4425, allocations: 0 / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008781/0.4434, allocations: 428 kB / 1.071 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.4436, allocations: 158.8 kB / 1.071 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4436, allocations: 4 kB / 1.071 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.4436, allocations: 4 kB / 1.071 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.4439, allocations: 55.91 kB / 1.071 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.4439, allocations: 4 kB / 1.071 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.4444, allocations: 95.39 kB / 1.071 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.4444, allocations: 15.98 kB / 1.071 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4444, allocations: 4 kB / 1.071 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006781/0.4451, allocations: 366.2 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4452, allocations: 4 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.4452, allocations: 4.125 kB / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.4454, allocations: 63.84 kB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4454, allocations: 4 kB / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.4458, allocations: 77.33 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.4459, allocations: 19.98 kB / 1.071 GB, free: 8.02 MB / 0.8262 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.000296/0.4462, allocations: 245 kB / 1.072 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.4463, allocations: 35.53 kB / 1.072 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/0.447, allocations: 321.4 kB / 1.072 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.447, allocations: 4 kB / 1.072 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.447, allocations: 0 / 1.072 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.447, allocations: 0 / 1.072 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.4482, allocations: 0.7793 MB / 1.073 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.4482, allocations: 7.938 kB / 1.073 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.4485, allocations: 47.92 kB / 1.073 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.4485, allocations: 3.984 kB / 1.073 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.4485, allocations: 8 kB / 1.073 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4485, allocations: 0 / 1.073 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4485, allocations: 0 / 1.073 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.4494, allocations: 0.5034 MB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4496, allocations: 128.5 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.4496, allocations: 8 kB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.4499, allocations: 19.98 kB / 1.074 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.4499, allocations: 15.98 kB / 1.074 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.45, allocations: 7.984 kB / 1.074 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003807/0.4503, allocations: 295.2 kB / 1.074 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4504, allocations: 0 / 1.074 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000597/0.451, allocations: 159.5 kB / 1.074 GB, free: 5.352 MB / 0.8262 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.0002674/0.4512, allocations: 113.4 kB / 1.074 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.4524, allocations: 0.5776 MB / 1.075 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4524, allocations: 4 kB / 1.075 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.4527, allocations: 119.9 kB / 1.075 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.4533, allocations: 77.83 kB / 1.075 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.4549, allocations: 0.8097 MB / 1.076 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.4555, allocations: 0.8001 MB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.4557, allocations: 59.28 kB / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.4558, allocations: 31.44 kB / 1.076 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of SimCode: time 8.62e-07/0.4559, allocations: 0 / 1.076 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of Templates: time 0.01221/0.4681, allocations: 4.56 MB / 1.081 GB, free: 14.21 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches