Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.0009507/0.0009507, allocations: 189 kB / 316 MB, free: 3.559 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.69 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.0007629/0.000763, allocations: 89.22 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.759e-06/4.779e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.5359, allocations: 134 MB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.5362, allocations: 82.08 kB / 1.015 GB, free: 4.465 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.007783/0.5439, allocations: 2.65 MB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.544, allocations: 0 / 1.018 GB, free: 2.262 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004065/0.5444, allocations: 416.1 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.5444, allocations: 11.97 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.5445, allocations: 7.906 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5446, allocations: 167 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.5446, allocations: 0 / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.5446, allocations: 7.938 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.273e-05/0.5447, allocations: 30.48 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.738e-05/0.5448, allocations: 56.11 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.5448, allocations: 0 / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5448, allocations: 3.906 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5448, allocations: 0 / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.5452, allocations: 286.1 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/0.5453, allocations: 39.58 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.5453, allocations: 27.16 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5453, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.64e-05/0.5454, allocations: 65.02 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.5454, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001869/0.5456, allocations: 74.59 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5456, allocations: 55.41 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.5457, allocations: 111.5 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.5457, allocations: 29.2 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.5458, allocations: 84.31 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.5458, allocations: 19.58 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5458, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.5459, allocations: 329.7 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.5459, allocations: 18.25 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.546, allocations: 45.48 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.5461, allocations: 21.98 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5461, allocations: 0 / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001506/0.5462, allocations: 89.61 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.5462, allocations: 6.656 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.5462, allocations: 8.219 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.5463, allocations: 0 / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.5464, allocations: 19.55 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.5464, allocations: 7.984 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.5465, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.5465, allocations: 4 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.564e-05/0.5466, allocations: 116.8 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.5466, allocations: 7.844 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.5466, allocations: 15.55 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.5466, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5466, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5466, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.5469, allocations: 319.7 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5469, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.547, allocations: 11.94 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.547, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.547, allocations: 3.984 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.547, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.547, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001561/0.5472, allocations: 171.6 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.5472, allocations: 85.02 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.5473, allocations: 0 / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.5474, allocations: 15.97 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.5474, allocations: 7.906 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.5474, allocations: 3.125 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.946e-05/0.5475, allocations: 90.33 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002587/0.5477, allocations: 51.06 kB / 1.021 GB, free: 15.25 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002722/0.548, allocations: 168.5 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.5481, allocations: 48.94 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.5481, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/0.5482, allocations: 34.36 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.5483, allocations: 3.75 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.5486, allocations: 102.6 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.5488, allocations: 0.7037 MB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.5488, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.003393/0.5522, allocations: 1.64 MB / 1.024 GB, free: 12.56 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time