Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001894/0.001894, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001823/0.001824, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 64.12 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.113, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004516/1.118, allocations: 2.621 MB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001685/1.12, allocations: 0.9278 MB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/1.12, allocations: 8 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/1.12, allocations: 63.27 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/1.12, allocations: 71.39 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007208/1.121, allocations: 313.1 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006155/1.122, allocations: 0.614 MB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/1.122, allocations: 291.7 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/1.122, allocations: 219.3 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/1.123, allocations: 230.8 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/1.123, allocations: 68 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/1.123, allocations: 83.98 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/1.123, allocations: 119.7 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/1.123, allocations: 250.7 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008352/1.124, allocations: 0.7438 MB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.124, allocations: 4 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.853e-06/1.124, allocations: 4 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.124, allocations: 0 / 1.174 GB, free: 13.24 MB / 0.9044 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.001368/1.126, allocations: 0.7849 MB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.126, allocations: 16.58 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/1.126, allocations: 60.61 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/1.127, allocations: 384.6 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/1.127, allocations: 33.38 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/1.127, allocations: 40.38 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/1.127, allocations: 446.7 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.127, allocations: 3.938 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/1.127, allocations: 23.88 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/1.127, allocations: 8 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/1.128, allocations: 315.9 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/1.13, allocations: 1.421 MB / 1.177 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/1.131, allocations: 260.8 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/1.131, allocations: 122.1 kB / 1.178 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/1.131, allocations: 4 kB / 1.178 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/1.131, allocations: 210.6 kB / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/1.131, allocations: 0 / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0007841/1.132, allocations: 336.7 kB / 1.178 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/1.132, allocations: 136.5 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/1.133, allocations: 413.6 kB / 1.179 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/1.133, allocations: 37.7 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/1.133, allocations: 236.5 kB / 1.179 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/1.133, allocations: 87.3 kB / 1.179 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.133, allocations: 77.67 kB / 1.179 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.133, allocations: 346.8 kB / 1.179 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/1.134, allocations: 129.1 kB / 1.179 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/1.134, allocations: 194.2 kB / 1.18 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/1.134, allocations: 288.4 kB / 1.18 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.134, allocations: 4 kB / 1.18 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007472/1.135, allocations: 424.1 kB / 1.18 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/1.135, allocations: 48.12 kB / 1.18 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.135, allocations: 4 kB / 1.18 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.135, allocations: 0 / 1.18 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/1.136, allocations: 60.03 kB / 1.18 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.136, allocations: 8 kB / 1.18 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/1.136, allocations: 67.62 kB / 1.181 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.136, allocations: 19.98 kB / 1.181 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003533/1.136, allocations: 236.4 kB / 1.181 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002807/1.137, allocations: 192.5 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004097/1.137, allocations: 282.2 kB / 1.181 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/1.137, allocations: 0 / 1.181 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006943/1.138, allocations: 422.7 kB / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/1.138, allocations: 37.64 kB / 1.182 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/1.138, allocations: 0 / 1.182 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/1.138, allocations: 7.938 kB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/1.138, allocations: 55.91 kB / 1.182 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/1.138, allocations: 7.938 kB / 1.182 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/1.138, allocations: 63.89 kB / 1.182 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.138, allocations: 16 kB / 1.182 GB, free: 4.602 MB / 0.9044 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.0001599/1.139, allocations: 196.9 kB / 1.182 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/1.139, allocations: 51.64 kB / 1.182 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/1.139, allocations: 305.2 kB / 1.182 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.139, allocations: 3.984 kB / 1.182 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.139, allocations: 0 / 1.182 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/1.139, allocations: 124.8 kB / 1.182 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/1.139, allocations: 8 kB / 1.182 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/1.14, allocations: 19.98 kB / 1.182 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/1.14, allocations: 15.97 kB / 1.182 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006106/1.14, allocations: 352.7 kB / 1.183 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008233/1.141, allocations: 0.5692 MB / 1.183 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002141/1.141, allocations: 115.9 kB / 1.183 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003644/1.142, allocations: 287.2 kB / 1.184 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of Backend: time 9.71e-07/1.142, allocations: 4 kB / 1.184 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001299/1.143, allocations: 0.5735 MB / 1.184 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001674/1.145, allocations: 1.097 MB / 1.185 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of Templates: time 0.01424/1.159, allocations: 6.385 MB / 1.192 GB, free: 10.45 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches