Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 107.4 kB / 16.41 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.002231/0.002231, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.983/1.983, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.934/3.934, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684/1.687, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003539/1.69, allocations: 1.514 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001963/1.692, allocations: 0.8257 MB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/1.692, allocations: 3.938 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.2e-05/1.692, allocations: 7.938 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/1.692, allocations: 11.81 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/1.693, allocations: 151.5 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/1.693, allocations: 87.77 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/1.694, allocations: 19.97 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/1.694, allocations: 47.78 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/1.694, allocations: 39.84 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/1.694, allocations: 8 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/1.694, allocations: 127.9 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/1.694, allocations: 23.92 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/1.694, allocations: 31.86 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003794/1.695, allocations: 187.3 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.695, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/1.695, allocations: 4 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.695, allocations: 0 / 1.211 GB, free: 10.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009473/1.696, allocations: 480.4 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.696, allocations: 11.97 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/1.696, allocations: 16.83 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/1.696, allocations: 172.2 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001919/1.698, allocations: 4.375 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/1.698, allocations: 8.375 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/1.724, allocations: 97.81 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.724, allocations: 0 / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.724, allocations: 0 / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.724, allocations: 4 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/1.725, allocations: 43.97 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/1.726, allocations: 336.6 kB / 1.213 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/1.726, allocations: 78.55 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/1.726, allocations: 44.83 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/1.726, allocations: 0 / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/1.727, allocations: 95.36 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.365e-06/1.727, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0007658/1.727, allocations: 189.7 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/1.727, allocations: 55.41 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/1.728, allocations: 140.4 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/1.728, allocations: 25.7 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/1.728, allocations: 96.12 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/1.728, allocations: 19.81 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/1.728, allocations: 29.7 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.728, allocations: 322.8 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/1.728, allocations: 23.98 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.728, allocations: 70 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/1.729, allocations: 101.9 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.729, allocations: 8 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003355/1.729, allocations: 121.3 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.729, allocations: 10.03 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.729, allocations: 0 / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.729, allocations: 4 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/1.729, allocations: 19.92 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.729, allocations: 4.188 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/1.729, allocations: 15.92 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/1.729, allocations: 4 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001516/1.73, allocations: 133.7 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/1.73, allocations: 7.906 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/1.73, allocations: 8.719 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.73, allocations: 7.984 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.73, allocations: 0 / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/1.73, allocations: 92.95 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/1.73, allocations: 48 / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/1.73, allocations: 19.91 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/1.73, allocations: 0 / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005168/1.73, allocations: 220.9 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005607/1.731, allocations: 318.6 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001754/1.731, allocations: 43.97 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.247e-05/1.731, allocations: 103.2 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of Backend: time 8.12e-07/1.731, allocations: 0 / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001041/1.732, allocations: 197.8 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007253/1.733, allocations: 0.6216 MB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of Templates: time 0.006859/1.74, allocations: 1.923 MB / 1.218 GB, free: 3.953 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches