Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.433/2.433, allocations: 393.5 MB / 408.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 201 kB / 0.4902 GB, free: 2.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 98.05 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 9.125 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 143 MB / 1.229 GB, free: 85.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.4728, allocations: 152 MB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4731, allocations: 87.94 kB / 1.378 GB, free: 13.23 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009563/0.4827, allocations: 3.038 MB / 1.381 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4827, allocations: 0 / 1.381 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.4828, allocations: 4 kB / 1.381 GB, free: 10.18 MB / 0.8855 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.0006742/0.4834, allocations: 424.7 kB / 1.381 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4835, allocations: 11.97 kB / 1.381 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.4835, allocations: 11.86 kB / 1.381 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.4837, allocations: 167 kB / 1.381 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.4838, allocations: 8 kB / 1.381 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4838, allocations: 3.984 kB / 1.381 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.484, allocations: 69.66 kB / 1.381 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.484, allocations: 3.984 kB / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.484, allocations: 7.938 kB / 1.381 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4841, allocations: 4 kB / 1.381 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.4842, allocations: 39.98 kB / 1.381 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.4849, allocations: 324.8 kB / 1.382 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4851, allocations: 50.5 kB / 1.382 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.4851, allocations: 80 / 1.382 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.4853, allocations: 83.48 kB / 1.382 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4853, allocations: 0 / 1.382 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004329/0.4858, allocations: 157.4 kB / 1.382 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.4858, allocations: 55.41 kB / 1.382 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.4859, allocations: 113 kB / 1.382 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.486, allocations: 29.7 kB / 1.382 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.486, allocations: 92.23 kB / 1.382 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.4861, allocations: 19.73 kB / 1.382 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-06/0.4861, allocations: 4 kB / 1.382 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4862, allocations: 319 kB / 1.383 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.4863, allocations: 27.98 kB / 1.383 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4864, allocations: 54.98 kB / 1.383 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.097e-05/0.4865, allocations: 35.98 kB / 1.383 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4865, allocations: 0 / 1.383 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002344/0.4868, allocations: 113.6 kB / 1.383 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4868, allocations: 12.77 kB / 1.383 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4868, allocations: 0 / 1.383 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4868, allocations: 0 / 1.383 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.4869, allocations: 15.94 kB / 1.383 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.4869, allocations: 3.953 kB / 1.383 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.487, allocations: 15.89 kB / 1.383 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.487, allocations: 7.938 kB / 1.383 GB, free: 7.707 MB / 0.8855 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 0.0001029/0.4871, allocations: 121.7 kB / 1.383 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.4872, allocations: 7.906 kB / 1.383 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.4872, allocations: 12.36 kB / 1.383 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4872, allocations: 4 kB / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4872, allocations: 0 / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4872, allocations: 3.953 kB / 1.383 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.4877, allocations: 382.5 kB / 1.383 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4877, allocations: 3.938 kB / 1.383 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.4877, allocations: 4 kB / 1.383 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4877, allocations: 4 kB / 1.383 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4878, allocations: 7.984 kB / 1.383 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4878, allocations: 3.953 kB / 1.383 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4878, allocations: 0 / 1.383 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4881, allocations: 215.4 kB / 1.384 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.4881, allocations: 77.11 kB / 1.384 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.4882, allocations: 4 kB / 1.384 GB, free: 6.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.4883, allocations: 11.98 kB / 1.384 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.4883, allocations: 7.938 kB / 1.384 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.4883, allocations: 4 kB / 1.384 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.4884, allocations: 99.42 kB / 1.384 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4884, allocations: 0 / 1.384 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003565/0.4888, allocations: 47.94 kB / 1.384 GB, free: 6.609 MB / 0.8855 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.0003788/0.4892, allocations: 174.5 kB / 1.384 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.4894, allocations: 87.86 kB / 1.384 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4894, allocations: 0 / 1.384 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.383e-05/0.4895, allocations: 39.92 kB / 1.384 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.4897, allocations: 15.53 kB / 1.384 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.4901, allocations: 211.3 kB / 1.384 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4904, allocations: 0.6887 MB / 1.385 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.4905, allocations: 4.188 kB / 1.385 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.4905, allocations: 15.44 kB / 1.385 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of SimCode: time 2e-07/0.4905, allocations: 0 / 1.385 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of Templates: time 0.004216/0.4947, allocations: 1.515 MB / 1.387 GB, free: 3.82 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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