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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001178/0.001178, allocations: 191.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.06 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3662, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002673/0.3689, allocations: 1.537 MB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3702, allocations: 0.7439 MB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.3703, allocations: 3.938 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.3703, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.3704, allocations: 11.92 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.3709, allocations: 103.8 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3711, allocations: 75.77 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.3712, allocations: 8 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.3713, allocations: 39.78 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.3713, allocations: 31.89 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3713, allocations: 4 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.3715, allocations: 91.84 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.3716, allocations: 23.92 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.3716, allocations: 27.84 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3718, allocations: 135.9 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3719, allocations: 0 / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3719, allocations: 0 / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.3719, allocations: 0 / 1.055 GB, free: 6.02 MB / 0.8106 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.0006383/0.3725, allocations: 417 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3726, allocations: 12.03 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3726, allocations: 12.84 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3728, allocations: 176.1 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3728, allocations: 12.31 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.3728, allocations: 4.375 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.373, allocations: 73.97 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.373, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.373, allocations: 3.984 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3731, allocations: 3.984 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3732, allocations: 31.98 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.3738, allocations: 328.7 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3739, allocations: 42.56 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.374, allocations: 32.97 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.374, allocations: 4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.3742, allocations: 71.38 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3742, allocations: 4 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004085/0.3747, allocations: 137.5 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.3747, allocations: 55.48 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.3748, allocations: 121.8 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3748, allocations: 33.7 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.3749, allocations: 88.12 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.3749, allocations: 23.73 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.375, allocations: 29.7 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3751, allocations: 318.8 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.3752, allocations: 23.98 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.3753, allocations: 54.55 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3754, allocations: 74.48 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3754, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000234/0.3757, allocations: 113.5 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3757, allocations: 12.05 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3757, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3757, allocations: 3.938 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.3758, allocations: 12 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3758, allocations: 3.938 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.3759, allocations: 11.89 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3759, allocations: 8.391 kB / 1.057 GB, free: 3.465 MB / 0.8106 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.376, allocations: 119.3 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.3761, allocations: 8 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.3761, allocations: 8.359 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3761, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3761, allocations: 4 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3761, allocations: 4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.3766, allocations: 394.2 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3766, allocations: 0 / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.3766, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3767, allocations: 4 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3767, allocations: 3.984 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3767, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3767, allocations: 3.938 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.377, allocations: 211.4 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.377, allocations: 81.05 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.377, allocations: 7.984 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.3771, allocations: 4 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.3772, allocations: 11.92 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3772, allocations: 8 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.3772, allocations: 91.27 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3773, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002964/0.3776, allocations: 36 kB / 1.058 GB, free: 2.383 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/0.3779, allocations: 164.2 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.3781, allocations: 75.88 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3781, allocations: 0 / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.3782, allocations: 35.98 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3785, allocations: 7.984 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.3789, allocations: 202.7 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.3791, allocations: 0.6848 MB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.3791, allocations: 4 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.3792, allocations: 15.44 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3792, allocations: 0 / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of Templates: time 0.00386/0.383, allocations: 1.381 MB / 1.061 GB, free: 15.78 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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