Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.587/2.587, allocations: 390.2 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 11.94 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8377/0.8381, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001867/0.84, allocations: 1.173 MB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.8413, allocations: 0.675 MB / 0.9553 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.8413, allocations: 1.094 kB / 0.9553 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.8414, allocations: 3.938 kB / 0.9553 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.8414, allocations: 14.92 kB / 0.9553 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.842, allocations: 97.42 kB / 0.9554 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.8421, allocations: 40.36 kB / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.8422, allocations: 12.23 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.8423, allocations: 33.88 kB / 0.9555 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.8424, allocations: 31.09 kB / 0.9555 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.8424, allocations: 3.188 kB / 0.9555 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.8425, allocations: 74.92 kB / 0.9556 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.8426, allocations: 14.52 kB / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.8426, allocations: 31.33 kB / 0.9557 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.8428, allocations: 103.7 kB / 0.9558 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.8428, allocations: 0 / 0.9558 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8428, allocations: 0 / 0.9558 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8428, allocations: 1.406 kB / 0.9558 GB, free: 6.312 MB / 0.7169 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.0005303/0.8433, allocations: 413.5 kB / 0.9561 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8434, allocations: 8.219 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.8434, allocations: 15.42 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.8435, allocations: 163.8 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.8436, allocations: 14.61 kB / 0.9563 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.8436, allocations: 2.781 kB / 0.9563 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.8438, allocations: 66.69 kB / 0.9564 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8438, allocations: 0 / 0.9564 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.8438, allocations: 5.531 kB / 0.9564 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.8438, allocations: 4 kB / 0.9564 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.844, allocations: 46.86 kB / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.8445, allocations: 329.5 kB / 0.9568 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.8447, allocations: 50.72 kB / 0.9568 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.8447, allocations: 0.8438 kB / 0.9568 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.8449, allocations: 79.75 kB / 0.9569 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.8449, allocations: 1 kB / 0.9569 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004306/0.8453, allocations: 159.8 kB / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.8454, allocations: 57.77 kB / 0.9571 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.8455, allocations: 120.6 kB / 0.9572 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.8455, allocations: 34.89 kB / 0.9573 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.8456, allocations: 90.56 kB / 0.9573 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.8456, allocations: 14.25 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/0.8456, allocations: 1.125 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.8457, allocations: 324 kB / 0.9577 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.8458, allocations: 25.05 kB / 0.9577 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.8458, allocations: 54.47 kB / 0.9577 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.8459, allocations: 40.08 kB / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.846, allocations: 0 / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002298/0.8462, allocations: 118.4 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8462, allocations: 6.844 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8462, allocations: 0 / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8462, allocations: 6.297 kB / 0.9579 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.8463, allocations: 17.05 kB / 0.9579 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8464, allocations: 1.125 kB / 0.9579 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.8464, allocations: 9.406 kB / 0.9579 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.8465, allocations: 6.953 kB / 0.9579 GB, free: 4.242 MB / 0.7169 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 () * Number of clocked 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 7.923e-05/0.8465, allocations: 123.2 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.8466, allocations: 9.844 kB / 0.9581 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.8466, allocations: 8.375 kB / 0.9581 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.8466, allocations: 3.953 kB / 0.9581 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8466, allocations: 0 / 0.9581 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.8466, allocations: 0 / 0.9581 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.847, allocations: 388.6 kB / 0.9584 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.847, allocations: 0 / 0.9584 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.8471, allocations: 7.891 kB / 0.9585 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8471, allocations: 9.297 kB / 0.9585 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.8471, allocations: 5.375 kB / 0.9585 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.8471, allocations: 0 / 0.9585 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8471, allocations: 0 / 0.9585 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.8474, allocations: 214.7 kB / 0.9587 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.8474, allocations: 83.55 kB / 0.9588 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.8474, allocations: 9.141 kB / 0.9588 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.8475, allocations: 4.031 kB / 0.9588 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.8476, allocations: 7.203 kB / 0.9588 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.8476, allocations: 1.531 kB / 0.9588 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.8476, allocations: 101 kB / 0.9589 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8476, allocations: 0 / 0.9589 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003594/0.848, allocations: 44.39 kB / 0.9589 GB, free: 3.324 MB / 0.7169 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 () * Number of clocked 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.0003863/0.8484, allocations: 168.7 kB / 0.9591 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.8487, allocations: 73.73 kB / 0.9591 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8487, allocations: 0 / 0.9591 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.8488, allocations: 47.72 kB / 0.9592 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.849, allocations: 6.719 kB / 0.9592 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.8494, allocations: 205.4 kB / 0.9594 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.8496, allocations: 0.6931 MB / 0.9601 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.8497, allocations: 3.75 kB / 0.9601 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.8497, allocations: 17.23 kB / 0.9601 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8497, allocations: 1.812 kB / 0.9601 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of Templates: time 0.004495/0.8542, allocations: 1.326 MB / 0.9614 GB, free: 1.559 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","../files/Buildings_9_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.f,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