Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.0009777/0.0009777, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004764, allocations: 8.234 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.659, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001391/0.6605, allocations: 1.216 MB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.6616, allocations: 0.8183 MB / 0.9577 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.6617, allocations: 1.094 kB / 0.9577 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.6617, allocations: 3.984 kB / 0.9577 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.6618, allocations: 14.03 kB / 0.9577 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.6623, allocations: 127.8 kB / 0.9578 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.6624, allocations: 88.73 kB / 0.9579 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.6625, allocations: 10.67 kB / 0.9579 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.6626, allocations: 43.36 kB / 0.958 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.6626, allocations: 39.88 kB / 0.958 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.6627, allocations: 4.438 kB / 0.958 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.6629, allocations: 124.1 kB / 0.9581 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.6629, allocations: 15.48 kB / 0.9581 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.6629, allocations: 56.31 kB / 0.9582 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.6631, allocations: 130.1 kB / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6631, allocations: 0 / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6631, allocations: 0 / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.6631, allocations: 0.9688 kB / 0.9583 GB, free: 5.723 MB / 0.7169 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.0005648/0.6637, allocations: 473.4 kB / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6638, allocations: 10.16 kB / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.6638, allocations: 9.562 kB / 0.9588 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.295e-05/0.6639, allocations: 180.3 kB / 0.959 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.6639, allocations: 7.156 kB / 0.959 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.6639, allocations: 4.781 kB / 0.959 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.6642, allocations: 96.52 kB / 0.9591 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6642, allocations: 0 / 0.9591 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6642, allocations: 5.062 kB / 0.9591 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6642, allocations: 9.312 kB / 0.9591 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.6644, allocations: 54.47 kB / 0.9591 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.6648, allocations: 323.9 kB / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.6651, allocations: 94.75 kB / 0.9595 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.6652, allocations: 53.8 kB / 0.9596 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.6652, allocations: 1.469 kB / 0.9596 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.6655, allocations: 105.2 kB / 0.9597 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.6655, allocations: 0 / 0.9597 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005012/0.666, allocations: 202.2 kB / 0.9599 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.666, allocations: 52.78 kB / 0.9599 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.6661, allocations: 140.9 kB / 0.9601 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.6661, allocations: 27.08 kB / 0.9601 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.6661, allocations: 90.89 kB / 0.9602 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.6662, allocations: 19.92 kB / 0.9602 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.6662, allocations: 17.84 kB / 0.9602 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.6662, allocations: 329.5 kB / 0.9605 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.6663, allocations: 28.48 kB / 0.9605 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.6664, allocations: 79.97 kB / 0.9606 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.6666, allocations: 113.7 kB / 0.9607 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6666, allocations: 1.375 kB / 0.9607 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002276/0.6668, allocations: 128.6 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6669, allocations: 6.75 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6669, allocations: 1.375 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6669, allocations: 6.938 kB / 0.9609 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.667, allocations: 18.92 kB / 0.9609 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.667, allocations: 3.062 kB / 0.9609 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.6671, allocations: 21.34 kB / 0.9609 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.6671, allocations: 5.5 kB / 0.9609 GB, free: 3.355 MB / 0.7169 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 7.103e-05/0.6672, allocations: 127.2 kB / 0.961 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.6672, allocations: 8.031 kB / 0.961 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.6672, allocations: 14.09 kB / 0.9611 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.6672, allocations: 1.375 kB / 0.9611 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6672, allocations: 1.375 kB / 0.9611 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6672, allocations: 0 / 0.9611 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.6677, allocations: 443.9 kB / 0.9615 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6677, allocations: 0 / 0.9615 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.6678, allocations: 4.125 kB / 0.9615 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6678, allocations: 1.375 kB / 0.9615 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6678, allocations: 5.312 kB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6678, allocations: 0 / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6678, allocations: 7.922 kB / 0.9615 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.6682, allocations: 255.8 kB / 0.9617 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.6682, allocations: 87.41 kB / 0.9618 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.6682, allocations: 0.8438 kB / 0.9618 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.6683, allocations: 12.09 kB / 0.9618 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.6684, allocations: 10.92 kB / 0.9619 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.6684, allocations: 13.88 kB / 0.9619 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.6685, allocations: 105.2 kB / 0.962 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6685, allocations: 0 / 0.962 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003498/0.6688, allocations: 44.06 kB / 0.962 GB, free: 2.391 MB / 0.7169 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.0003557/0.6692, allocations: 177.4 kB / 0.9622 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.6695, allocations: 89.95 kB / 0.9623 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6695, allocations: 0.7812 kB / 0.9623 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.6696, allocations: 60.55 kB / 0.9623 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.6699, allocations: 8.344 kB / 0.9623 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.6703, allocations: 260.6 kB / 0.9626 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.6705, allocations: 0.6965 MB / 0.9633 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.6705, allocations: 11.5 kB / 0.9633 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6705, allocations: 0 / 0.9633 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.0034/0.6739, allocations: 1.834 MB / 0.9651 GB, free: 332 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches