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.002069/0.002069, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001981/0.001981, allocations: 187 kB / 17.34 MB, free: 5.719 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 63.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7695, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002783/0.7724, allocations: 1.517 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.7739, allocations: 0.8257 MB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.7739, allocations: 0 / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.774, allocations: 7.875 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.7741, allocations: 7.875 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.7748, allocations: 159.4 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.7749, allocations: 91.77 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.775, allocations: 11.98 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.7752, allocations: 47.83 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.7752, allocations: 43.83 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.7753, allocations: 12 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.7756, allocations: 119.8 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.7756, allocations: 23.91 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.7757, allocations: 39.84 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.776, allocations: 179.4 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.776, allocations: 4 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.776, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.776, allocations: 0 / 1.211 GB, free: 10.55 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.0007701/0.7768, allocations: 476.4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.7769, allocations: 12.03 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.7769, allocations: 12.83 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.7771, allocations: 180.2 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.7771, allocations: 8.375 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.7771, allocations: 8.312 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.7774, allocations: 89.94 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7774, allocations: 4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.7774, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7774, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.7776, allocations: 51.91 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.7782, allocations: 324.7 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.7784, allocations: 82.53 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.7785, allocations: 40.83 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.7786, allocations: 8 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.7788, allocations: 95.39 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.7788, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005271/0.7794, allocations: 177.5 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.7794, allocations: 55.41 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.7795, allocations: 142 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.7796, allocations: 29.7 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.7796, allocations: 96.12 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.7797, allocations: 19.89 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.7797, allocations: 29.7 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7799, allocations: 326.8 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.7799, allocations: 27.92 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.7801, allocations: 73.38 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.7802, allocations: 101.9 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7802, allocations: 0 / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000266/0.7805, allocations: 133.3 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7805, allocations: 8 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7806, allocations: 4.188 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7806, allocations: 4 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.7807, allocations: 15.98 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7807, allocations: 0 / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.7808, allocations: 15.92 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.7808, allocations: 7.938 kB / 1.214 GB, free: 7.668 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 9.105e-05/0.7809, allocations: 124.5 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.7809, allocations: 7.906 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.7809, allocations: 12.72 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.781, allocations: 4 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.781, allocations: 7.922 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.781, allocations: 0 / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.7815, allocations: 434.3 kB / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7816, allocations: 0 / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.7816, allocations: 4 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7816, allocations: 0 / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.7816, allocations: 7.984 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.7816, allocations: 4 kB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7816, allocations: 7.938 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.782, allocations: 239.8 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.7821, allocations: 85.02 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.7821, allocations: 0 / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.7822, allocations: 15.98 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.7823, allocations: 7.938 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.7823, allocations: 7.984 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.459e-05/0.7823, allocations: 103.2 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7823, allocations: 0 / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003348/0.7827, allocations: 55.89 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003552/0.783, allocations: 173 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.7833, allocations: 87.88 kB / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7833, allocations: 0 / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.7835, allocations: 47.91 kB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.7838, allocations: 16.36 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.7842, allocations: 226 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.7845, allocations: 0.6924 MB / 1.216 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.7846, allocations: 15.38 kB / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.7846, allocations: 0 / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.003819/0.7884, allocations: 1.841 MB / 1.218 GB, free: 3.32 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