Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.153/1.153, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009149/0.0009149, allocations: 183.8 kB / 316 MB, free: 7.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 0.5667 GB, free: 23.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008058, allocations: 83.31 kB / 0.671 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.723e-06, allocations: 4 kB / 0.7807 GB, free: 352 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3273, allocations: 106.3 MB / 0.8846 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.457, allocations: 133 MB / 1.014 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4572, allocations: 83.94 kB / 1.015 GB, free: 7.02 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.009232/0.4665, allocations: 3.114 MB / 1.018 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4665, allocations: 0 / 1.018 GB, free: 3.902 MB / 0.6667 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.0005268/0.467, allocations: 472.1 kB / 1.018 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.4671, allocations: 12.03 kB / 1.018 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.4671, allocations: 11.89 kB / 1.018 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.4672, allocations: 173.2 kB / 1.018 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.4673, allocations: 0 / 1.018 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.4673, allocations: 4 kB / 1.018 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.645e-05/0.4674, allocations: 35.94 kB / 1.018 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.4675, allocations: 73.59 kB / 1.018 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4675, allocations: 0 / 1.018 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4675, allocations: 0 / 1.018 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4675, allocations: 4 kB / 1.018 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.468, allocations: 297.2 kB / 1.019 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.4681, allocations: 66.56 kB / 1.019 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.4681, allocations: 28.86 kB / 1.019 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4682, allocations: 3.984 kB / 1.019 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.972e-05/0.4683, allocations: 79.28 kB / 1.019 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.4683, allocations: 0 / 1.019 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0003267/0.4686, allocations: 113.8 kB / 1.019 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.4686, allocations: 63.33 kB / 1.019 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.4687, allocations: 117.3 kB / 1.019 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4687, allocations: 25.7 kB / 1.019 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.4688, allocations: 91.94 kB / 1.019 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.4688, allocations: 19.8 kB / 1.019 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4688, allocations: 0 / 1.019 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.4689, allocations: 318.8 kB / 1.019 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.4689, allocations: 24 kB / 1.02 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.469, allocations: 58 kB / 1.02 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.4691, allocations: 23.98 kB / 1.02 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4691, allocations: 0 / 1.02 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000142/0.4692, allocations: 97.45 kB / 1.02 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.4692, allocations: 4 kB / 1.02 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4692, allocations: 4 kB / 1.02 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.4693, allocations: 7.938 kB / 1.02 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.4693, allocations: 15.92 kB / 1.02 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4694, allocations: 8.188 kB / 1.02 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.4694, allocations: 7.906 kB / 1.02 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.4695, allocations: 8 kB / 1.02 GB, free: 1.445 MB / 0.6667 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.4695, allocations: 111 kB / 1.02 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.4696, allocations: 7.906 kB / 1.02 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.4696, allocations: 16.48 kB / 1.02 GB, free: 1.305 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.4696, allocations: 0 / 1.02 GB, free: 1.305 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4696, allocations: 7.906 kB / 1.02 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4696, allocations: 0 / 1.02 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.47, allocations: 375.1 kB / 1.02 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4701, allocations: 0 / 1.02 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.4701, allocations: 11.89 kB / 1.02 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4701, allocations: 3.938 kB / 1.02 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4701, allocations: 4 kB / 1.02 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4701, allocations: 3.938 kB / 1.02 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4702, allocations: 4 kB / 1.02 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002806/0.4704, allocations: 203.4 kB / 1.02 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.4705, allocations: 81.02 kB / 1.021 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.4705, allocations: 3.984 kB / 1.021 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4706, allocations: 11.91 kB / 1.021 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.4707, allocations: 15.98 kB / 1.021 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4707, allocations: 4 kB / 1.021 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.012e-05/0.4707, allocations: 94.5 kB / 1.021 GB, free: 432 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002894/0.471, allocations: 67.92 kB / 1.021 GB, free: 364 kB / 0.6667 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,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002976/0.4713, allocations: 186.9 kB / 1.021 GB, free: 180 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.4715, allocations: 71.92 kB / 1.021 GB, free: 108 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.4715, allocations: 0 / 1.021 GB, free: 108 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.4715, allocations: 28 kB / 1.021 GB, free: 80 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.4717, allocations: 11.98 kB / 1.021 GB, free: 68 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.472, allocations: 115.6 kB / 1.021 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.4723, allocations: 0.7118 MB / 1.022 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4723, allocations: 0 / 1.022 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of Templates: time 0.003867/0.4761, allocations: 2.054 MB / 1.024 GB, free: 13.17 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches