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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.602/1.602, allocations: 249.5 MB / 257 MB, free: 6.941 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.001216/0.001216, allocations: 176.9 kB / 316.3 MB, free: 3.25 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.783/1.783, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009246/0.0009244, allocations: 91.89 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.86e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.726/0.9553, allocations: 133.9 MB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.9556, allocations: 82.14 kB / 1.016 GB, free: 3.895 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 - DAE generated: time 0.00853/0.9641, allocations: 2.959 MB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9642, allocations: 0 / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.9642, allocations: 0 / 1.019 GB, free: 1.391 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.0004952/0.9647, allocations: 415.9 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9647, allocations: 8.031 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.9648, allocations: 7.906 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.9649, allocations: 176.7 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.965, allocations: 4 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.965, allocations: 7.984 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.77e-05/0.9651, allocations: 21.88 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.9652, allocations: 57.28 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.9652, allocations: 4 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9652, allocations: 0 / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.9652, allocations: 3.938 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.9658, allocations: 292.3 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.9659, allocations: 44.52 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.9659, allocations: 26.95 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.9659, allocations: 6.438 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.9661, allocations: 65.02 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.9661, allocations: 0 / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002422/0.9663, allocations: 100.5 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.9664, allocations: 55.41 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.9665, allocations: 115.4 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.9665, allocations: 25.7 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.9665, allocations: 90.45 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.9666, allocations: 15.75 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.9666, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9667, allocations: 322.3 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.9667, allocations: 18.5 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.9668, allocations: 46.56 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.9669, allocations: 21.31 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9669, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001481/0.967, allocations: 92.52 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9671, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.9671, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.9671, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.9672, allocations: 15.61 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.9672, allocations: 8 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.9673, allocations: 11.91 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.9673, allocations: 7.047 kB / 1.021 GB, free: 15.27 MB / 0.6511 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 8.072e-05/0.9674, allocations: 108.9 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.9674, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.9674, allocations: 8.062 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9674, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.9675, allocations: 8 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9675, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.9678, allocations: 343.3 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.9678, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.9678, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9678, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.9679, allocations: 3.984 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.9679, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9679, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.9681, allocations: 194.2 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.9681, allocations: 83.77 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.9682, allocations: 7.938 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.9683, allocations: 7.984 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.9683, allocations: 0 / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.9683, allocations: 7.984 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.9684, allocations: 97.75 kB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.9684, allocations: 7.938 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000276/0.9687, allocations: 43.92 kB / 1.022 GB, free: 14.32 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.0003417/0.969, allocations: 171.4 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.9692, allocations: 48.38 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9692, allocations: 4.125 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.9692, allocations: 29.92 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.9694, allocations: 10.53 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.9697, allocations: 94.59 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.97, allocations: 0.6924 MB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.97, allocations: 4.734 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.9701, allocations: 15.42 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9701, allocations: 0 / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.003807/0.9739, allocations: 1.504 MB / 1.024 GB, free: 11.77 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