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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001495/0.001495, allocations: 115 kB / 16.42 MB, free: 6.02 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.001585/0.001585, allocations: 184.3 kB / 17.35 MB, free: 5.625 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 472.7 MB / 0.746 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 59.91 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.146, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004584/1.151, allocations: 2.61 MB / 1.229 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002227/1.153, allocations: 0.9308 MB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/1.154, allocations: 11.94 kB / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003404/1.154, allocations: 63.27 kB / 1.23 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003689/1.154, allocations: 67.39 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/1.155, allocations: 327.3 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008381/1.156, allocations: 0.6063 MB / 1.231 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/1.157, allocations: 291.7 kB / 1.231 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/1.157, allocations: 215.3 kB / 1.231 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/1.158, allocations: 230.8 kB / 1.232 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/1.158, allocations: 68 kB / 1.232 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/1.158, allocations: 83.98 kB / 1.232 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/1.158, allocations: 123.6 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002999/1.158, allocations: 246.8 kB / 1.232 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/1.159, allocations: 0.7477 MB / 1.233 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.159, allocations: 0 / 1.233 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/1.159, allocations: 0 / 1.233 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.483e-05/1.16, allocations: 4 kB / 1.233 GB, free: 6.934 MB / 0.9512 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.001816/1.161, allocations: 0.7887 MB / 1.234 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.161, allocations: 11.98 kB / 1.234 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/1.162, allocations: 56.61 kB / 1.234 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007375/1.162, allocations: 388.6 kB / 1.234 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/1.162, allocations: 37.38 kB / 1.234 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/1.162, allocations: 44.38 kB / 1.234 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/1.163, allocations: 434.7 kB / 1.234 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/1.163, allocations: 11.88 kB / 1.234 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/1.163, allocations: 23.98 kB / 1.235 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/1.163, allocations: 8 kB / 1.235 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000665/1.164, allocations: 311.9 kB / 1.235 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/1.167, allocations: 1.413 MB / 1.236 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/1.167, allocations: 270.8 kB / 1.236 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/1.168, allocations: 112.9 kB / 1.237 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/1.168, allocations: 7.984 kB / 1.237 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/1.168, allocations: 200.4 kB / 1.237 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 2.424e-06/1.168, allocations: 7.938 kB / 1.237 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.0008021/1.169, allocations: 341.4 kB / 1.237 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/1.169, allocations: 128.5 kB / 1.237 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/1.169, allocations: 417.6 kB / 1.238 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.169, allocations: 33.7 kB / 1.238 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/1.17, allocations: 236.5 kB / 1.238 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/1.17, allocations: 87.28 kB / 1.238 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.17, allocations: 81.62 kB / 1.238 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.17, allocations: 346.8 kB / 1.238 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/1.17, allocations: 133.1 kB / 1.238 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/1.171, allocations: 202 kB / 1.239 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/1.171, allocations: 287.2 kB / 1.239 GB, free: 288 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.171, allocations: 4 kB / 1.239 GB, free: 284 kB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008212/1.172, allocations: 414 kB / 1.239 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/1.172, allocations: 41.62 kB / 1.239 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.172, allocations: 4 kB / 1.239 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.172, allocations: 0 / 1.239 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/1.172, allocations: 59.91 kB / 1.239 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.172, allocations: 8.062 kB / 1.239 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/1.173, allocations: 75.56 kB / 1.24 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/1.173, allocations: 19.98 kB / 1.24 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003852/1.173, allocations: 244.4 kB / 1.24 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002829/1.174, allocations: 180.7 kB / 1.24 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004384/1.174, allocations: 286.2 kB / 1.24 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-06/1.174, allocations: 0 / 1.24 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000711/1.175, allocations: 428 kB / 1.241 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.175, allocations: 37.7 kB / 1.241 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/1.175, allocations: 0 / 1.241 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.175, allocations: 11.92 kB / 1.241 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.175, allocations: 47.92 kB / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.175, allocations: 4 kB / 1.241 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/1.175, allocations: 75.88 kB / 1.241 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/1.175, allocations: 8 kB / 1.241 GB, free: 14.29 MB / 0.9669 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.0001709/1.176, allocations: 204.7 kB / 1.241 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/1.176, allocations: 47.66 kB / 1.241 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/1.176, allocations: 301 kB / 1.241 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.176, allocations: 15.92 kB / 1.241 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.176, allocations: 0 / 1.241 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/1.177, allocations: 120.8 kB / 1.241 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/1.177, allocations: 8 kB / 1.241 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.177, allocations: 15.98 kB / 1.241 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/1.177, allocations: 19.97 kB / 1.242 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006688/1.178, allocations: 352.8 kB / 1.242 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008712/1.178, allocations: 0.5653 MB / 1.242 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002185/1.179, allocations: 120 kB / 1.243 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003121/1.179, allocations: 283.2 kB / 1.243 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of Backend: time 1.132e-06/1.179, allocations: 4.062 kB / 1.243 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001265/1.18, allocations: 0.5761 MB / 1.243 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001636/1.182, allocations: 1.103 MB / 1.244 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of Templates: time 0.01353/1.195, allocations: 6.39 MB / 1.251 GB, free: 4.141 MB / 0.9669 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/jenkins1/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