Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.864/1.864, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001084, allocations: 179.1 kB / 487 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 221.3 MB / 0.7819 GB, free: 6.785 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.0008823, allocations: 102.2 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.289e-06/5.31e-06, allocations: 0 / 1.066 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5926, allocations: 142.3 MB / 1.205 GB, free: 72.7 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.7665, allocations: 150.5 MB / 1.352 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.7668, allocations: 88.48 kB / 1.352 GB, free: 12.68 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.01397/0.7808, allocations: 3.16 MB / 1.355 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.7808, allocations: 0 / 1.355 GB, free: 9.551 MB / 0.8542 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.0008181/0.7816, allocations: 477.5 kB / 1.356 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.7817, allocations: 8.031 kB / 1.356 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.7818, allocations: 7.906 kB / 1.356 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.7819, allocations: 174.9 kB / 1.356 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.782, allocations: 4 kB / 1.356 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.782, allocations: 4 kB / 1.356 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001425/0.7822, allocations: 32.48 kB / 1.356 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.7824, allocations: 65.52 kB / 1.356 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.7824, allocations: 7.984 kB / 1.356 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.7824, allocations: 8 kB / 1.356 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.7824, allocations: 0 / 1.356 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.7831, allocations: 293.8 kB / 1.356 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.7833, allocations: 58.58 kB / 1.356 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.7834, allocations: 32.86 kB / 1.357 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.7834, allocations: 3.984 kB / 1.357 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.7836, allocations: 82.42 kB / 1.357 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.7836, allocations: 0 / 1.357 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0005499/0.7842, allocations: 109.5 kB / 1.357 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.7842, allocations: 51.41 kB / 1.357 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.7844, allocations: 128.6 kB / 1.357 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.7844, allocations: 33.7 kB / 1.357 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.7845, allocations: 80.14 kB / 1.357 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.7845, allocations: 23.94 kB / 1.357 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.7845, allocations: 0 / 1.357 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7847, allocations: 322.8 kB / 1.357 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.7847, allocations: 12 kB / 1.357 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.7848, allocations: 65.95 kB / 1.357 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.7849, allocations: 23.97 kB / 1.357 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7849, allocations: 0 / 1.357 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002384/0.7852, allocations: 109.4 kB / 1.358 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.7852, allocations: 4 kB / 1.358 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.7852, allocations: 1.062 kB / 1.358 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7852, allocations: 4 kB / 1.358 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.7854, allocations: 15.98 kB / 1.358 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.7854, allocations: 3.938 kB / 1.358 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.7855, allocations: 12.19 kB / 1.358 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.7855, allocations: 4 kB / 1.358 GB, free: 7.102 MB / 0.8542 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 0.0001628/0.7857, allocations: 124.1 kB / 1.358 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.7857, allocations: 7.906 kB / 1.358 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.7858, allocations: 12.44 kB / 1.358 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.7858, allocations: 4 kB / 1.358 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7858, allocations: 0 / 1.358 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7858, allocations: 0.75 kB / 1.358 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.7865, allocations: 370.9 kB / 1.358 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7865, allocations: 0 / 1.358 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.7866, allocations: 7.984 kB / 1.358 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7866, allocations: 4 kB / 1.358 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.7866, allocations: 2.188 kB / 1.358 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7866, allocations: 0 / 1.358 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7866, allocations: 0 / 1.358 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004778/0.7871, allocations: 212 kB / 1.358 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.7872, allocations: 85 kB / 1.358 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.7872, allocations: 4 kB / 1.358 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.7874, allocations: 15.92 kB / 1.358 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.7875, allocations: 4 kB / 1.358 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.7875, allocations: 8.484 kB / 1.358 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.589e-05/0.7876, allocations: 95.28 kB / 1.358 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00058/0.7882, allocations: 67.86 kB / 1.359 GB, free: 6.02 MB / 0.8542 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.0004839/0.7887, allocations: 173.8 kB / 1.359 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.7889, allocations: 59.92 kB / 1.359 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7889, allocations: 4.375 kB / 1.359 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.789, allocations: 43.92 kB / 1.359 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.7893, allocations: 12.75 kB / 1.359 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.7898, allocations: 118.1 kB / 1.359 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.7901, allocations: 0.7036 MB / 1.36 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of SimCode: time 3.21e-07/0.7901, allocations: 0 / 1.36 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of Templates: time 0.006316/0.7965, allocations: 2.057 MB / 1.362 GB, free: 2.863 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ac.TIn,ac.occ,ac.on Variables in the result:Tin.amplitude,Tin.f,Tin.offset,Tin.phase,Tin.startTime,Tin.y,ac.L1,ac.L2,ac.TIn,ac.k1,ac.k2,ac.occ,ac.on,ac.samplePeriod,ac.seed,ac.t0,ac.u1,ac.u2,occ.startTime,occ.startValue,time