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.001654/0.001654, allocations: 111.9 kB / 16.42 MB, free: 6.453 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.002711/0.002712, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.56/1.56, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004261/1.024, allocations: 2.6 MB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002021/1.026, allocations: 0.9309 MB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/1.027, allocations: 8 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003343/1.027, allocations: 67.27 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003005/1.027, allocations: 63.39 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/1.028, allocations: 322.9 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008362/1.029, allocations: 0.6102 MB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/1.03, allocations: 287.7 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/1.03, allocations: 219.2 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/1.03, allocations: 230.9 kB / 1.214 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/1.03, allocations: 68 kB / 1.214 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/1.031, allocations: 79.98 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/1.031, allocations: 123.6 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/1.031, allocations: 250.8 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008447/1.032, allocations: 0.7452 MB / 1.215 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.032, allocations: 0 / 1.215 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/1.032, allocations: 3.938 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.188e-05/1.032, allocations: 4 kB / 1.215 GB, free: 7.023 MB / 0.9356 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.001566/1.033, allocations: 0.7737 MB / 1.216 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.034, allocations: 8.031 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/1.034, allocations: 52.38 kB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/1.034, allocations: 400.2 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/1.034, allocations: 33.38 kB / 1.216 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/1.035, allocations: 48.38 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008157/1.035, allocations: 430.7 kB / 1.217 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.035, allocations: 3.938 kB / 1.217 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/1.035, allocations: 27.98 kB / 1.217 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/1.035, allocations: 11.94 kB / 1.217 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/1.036, allocations: 311.9 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/1.038, allocations: 1.409 MB / 1.218 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/1.039, allocations: 258.8 kB / 1.218 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/1.039, allocations: 124.8 kB / 1.219 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/1.039, allocations: 8.062 kB / 1.219 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/1.04, allocations: 206.5 kB / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 2.374e-06/1.04, allocations: 0 / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0007927/1.04, allocations: 337.2 kB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/1.041, allocations: 136.5 kB / 1.219 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/1.041, allocations: 413.6 kB / 1.22 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/1.041, allocations: 33.7 kB / 1.22 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/1.041, allocations: 232.1 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/1.041, allocations: 86.75 kB / 1.22 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.041, allocations: 81.67 kB / 1.22 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.042, allocations: 346.8 kB / 1.22 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/1.042, allocations: 125.1 kB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/1.042, allocations: 200.6 kB / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/1.043, allocations: 278.3 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.043, allocations: 0 / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008606/1.044, allocations: 429.5 kB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/1.044, allocations: 41.58 kB / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.044, allocations: 0 / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.044, allocations: 4 kB / 1.221 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/1.044, allocations: 59.91 kB / 1.221 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.044, allocations: 4 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/1.044, allocations: 71.61 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/1.045, allocations: 19.98 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003658/1.045, allocations: 240.4 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002742/1.045, allocations: 196.8 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004544/1.046, allocations: 282.2 kB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.866e-06/1.046, allocations: 0 / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007404/1.046, allocations: 419.4 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/1.046, allocations: 37.64 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.046, allocations: 7.984 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/1.046, allocations: 7.922 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/1.047, allocations: 51.92 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.047, allocations: 4 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/1.047, allocations: 59.81 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/1.047, allocations: 20 kB / 1.223 GB, free: 14.41 MB / 0.9512 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.0001743/1.047, allocations: 204.2 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/1.047, allocations: 39.47 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/1.048, allocations: 294.3 kB / 1.223 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/1.048, allocations: 3.984 kB / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.048, allocations: 4 kB / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/1.048, allocations: 124.6 kB / 1.223 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/1.048, allocations: 8 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.048, allocations: 19.92 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/1.048, allocations: 19.97 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006512/1.049, allocations: 353.5 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008628/1.05, allocations: 0.5646 MB / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002223/1.05, allocations: 108.5 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003744/1.051, allocations: 295.1 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of Backend: time 4.21e-07/1.051, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.052, allocations: 0.575 MB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00161/1.054, allocations: 1.086 MB / 1.226 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of Templates: time 0.01456/1.068, allocations: 6.395 MB / 1.233 GB, free: 4.305 MB / 0.9512 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