Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_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_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.557/2.557, allocations: 393.5 MB / 408.5 MB, free: 10.98 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.00117/0.00117, allocations: 183.5 kB / 0.4902 GB, free: 2.254 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.664/1.664, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001059/0.001059, allocations: 92.27 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006708/0.0006712, allocations: 11.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3188, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.509, allocations: 152 MB / 1.378 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5094, allocations: 87.94 kB / 1.378 GB, free: 1.551 MB / 0.8698 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.01016/0.5195, allocations: 3.031 MB / 1.381 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.18e-06/0.5196, allocations: 4 kB / 1.381 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.5196, allocations: 3.938 kB / 1.381 GB, free: 14.5 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.0007495/0.5204, allocations: 424.7 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.5204, allocations: 8.031 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.5205, allocations: 7.953 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.5207, allocations: 174.9 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.5208, allocations: 8 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.5208, allocations: 7.938 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.521, allocations: 73.62 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5211, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.5211, allocations: 4 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.5211, allocations: 7.938 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.5213, allocations: 43.92 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.522, allocations: 320.8 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.5221, allocations: 50.56 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.5222, allocations: 0 / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.5224, allocations: 83.44 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.5224, allocations: 0 / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004217/0.5228, allocations: 149.5 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.5229, allocations: 55.41 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.523, allocations: 113 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.523, allocations: 29.7 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.5231, allocations: 92.23 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.5231, allocations: 11.97 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.5232, allocations: 4 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.5233, allocations: 318.8 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.5234, allocations: 27.98 kB / 1.383 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.5235, allocations: 58.48 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.5236, allocations: 31.98 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5236, allocations: 0 / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000259/0.5239, allocations: 117.5 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.5239, allocations: 14.17 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5239, allocations: 0 / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.524, allocations: 4 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.5241, allocations: 12 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5241, allocations: 3.953 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.5242, allocations: 11.89 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.5242, allocations: 8 kB / 1.383 GB, free: 12.04 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.0001122/0.5243, allocations: 130.2 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.5243, allocations: 4 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.5244, allocations: 12.36 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5244, allocations: 4 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5244, allocations: 0 / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.5244, allocations: 3.953 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.5249, allocations: 382.4 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5249, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.5249, allocations: 11.94 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.525, allocations: 0 / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.525, allocations: 3.984 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.525, allocations: 7.891 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.525, allocations: 0 / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.5253, allocations: 211.5 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.5253, allocations: 85.02 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.5254, allocations: 3.984 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.5255, allocations: 4 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.5255, allocations: 15.94 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5255, allocations: 0 / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.5256, allocations: 95.27 kB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5256, allocations: 0 / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000315/0.5259, allocations: 51.94 kB / 1.384 GB, free: 10.94 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.0003915/0.5263, allocations: 167.4 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.5266, allocations: 83.94 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5266, allocations: 0 / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/0.5267, allocations: 39.92 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.5269, allocations: 9.672 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.5274, allocations: 219.1 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5277, allocations: 0.6936 MB / 1.385 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.5278, allocations: 192 / 1.385 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.5278, allocations: 15.44 kB / 1.385 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of SimCode: time 3.8e-07/0.5278, allocations: 0 / 1.385 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of Templates: time 0.004912/0.5327, allocations: 1.524 MB / 1.387 GB, free: 8.145 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","../files/Buildings_latest_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