Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,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.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,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.Ren2014ACLivingroom") [: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.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009794/0.0009795, allocations: 189.2 kB / 316 MB, free: 3.543 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.019/1.019, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0007904/0.0007904, allocations: 84.88 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.461e-06/5.481e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4037/0.5408, allocations: 134.1 MB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.541, allocations: 82.69 kB / 1.016 GB, free: 4.586 MB / 0.6355 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.009399/0.5504, allocations: 3.109 MB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5504, allocations: 0 / 1.019 GB, free: 2.008 MB / 0.6355 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.000517/0.551, allocations: 480.4 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.551, allocations: 12.02 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.5511, allocations: 7.906 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.5512, allocations: 182.7 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.5512, allocations: 4 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.5512, allocations: 4 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.764e-05/0.5513, allocations: 27.38 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.5515, allocations: 82.91 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5515, allocations: 0 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5515, allocations: 0 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5515, allocations: 0 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.5519, allocations: 292.1 kB / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.5521, allocations: 64.5 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.5521, allocations: 29.83 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.5521, allocations: 7.938 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.5523, allocations: 86.41 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.5523, allocations: 0 / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000371/0.5526, allocations: 109.7 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5527, allocations: 59.41 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.5528, allocations: 116.3 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5528, allocations: 25.7 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.5529, allocations: 90.5 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.5529, allocations: 19.23 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.5529, allocations: 0 / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.553, allocations: 322.6 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.5531, allocations: 15.8 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.5531, allocations: 63.64 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.5532, allocations: 22.17 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5532, allocations: 4 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001505/0.5533, allocations: 104.8 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5534, allocations: 4 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5534, allocations: 3.938 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5534, allocations: 4 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.5535, allocations: 15.98 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5535, allocations: 3.938 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.5536, allocations: 16.09 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5536, allocations: 4 kB / 1.021 GB, free: 15.7 MB / 0.6511 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.949e-05/0.5537, allocations: 107.7 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.5537, allocations: 11.89 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.5537, allocations: 8.438 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5537, allocations: 4 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5537, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5538, allocations: 7.906 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.5542, allocations: 364.8 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5542, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.5543, allocations: 11.98 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5543, allocations: 7.844 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5543, allocations: 3.875 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5543, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5543, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002901/0.5546, allocations: 211.1 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.5546, allocations: 85.02 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.5547, allocations: 3.984 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.5548, allocations: 15.98 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.5549, allocations: 15.92 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5549, allocations: 0 / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.548e-05/0.5549, allocations: 102.3 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003021/0.5552, allocations: 63.23 kB / 1.022 GB, free: 14.68 MB / 0.6511 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.0003667/0.5556, allocations: 176.2 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.5558, allocations: 66.11 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5558, allocations: 0 / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.5558, allocations: 37.56 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.556, allocations: 8.594 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.5564, allocations: 116.3 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.5566, allocations: 0.7036 MB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.5566, allocations: 4.062 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of Templates: time 0.004153/0.5608, allocations: 2.061 MB / 1.025 GB, free: 11.56 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches