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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001872/0.001872, allocations: 197.2 kB / 16.26 MB, free: 6.625 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.28 kB / 0.9115 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3625, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002887/0.3654, allocations: 1.535 MB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3667, allocations: 0.7361 MB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.3668, allocations: 0 / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.3668, allocations: 0 / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.3669, allocations: 15.86 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.3675, allocations: 103.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3676, allocations: 75.83 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3677, allocations: 15.98 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.3678, allocations: 31.91 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3679, allocations: 43.83 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3679, allocations: 8 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3681, allocations: 91.84 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.3682, allocations: 19.92 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.3682, allocations: 35.84 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.3685, allocations: 139.9 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3685, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3685, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3685, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 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.000623/0.3691, allocations: 417 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3692, allocations: 11.97 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.3692, allocations: 8.844 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3693, allocations: 176.2 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.3694, allocations: 8.375 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3694, allocations: 4.375 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3696, allocations: 69.97 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3696, allocations: 3.984 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3696, allocations: 11.92 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3696, allocations: 4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3698, allocations: 35.92 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.3704, allocations: 324.7 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3705, allocations: 46.56 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.3706, allocations: 28.97 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3706, allocations: 4 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.3709, allocations: 79.3 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3709, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.3714, allocations: 137.5 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3714, allocations: 55.39 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.3715, allocations: 121.8 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3715, allocations: 29.7 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.3716, allocations: 96.19 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3716, allocations: 19.75 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.3717, allocations: 29.7 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.3718, allocations: 318.8 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.3719, allocations: 31.97 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.113e-05/0.372, allocations: 46.5 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3721, allocations: 74.55 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3721, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002426/0.3724, allocations: 113.5 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.3724, allocations: 8 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3724, allocations: 4 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3724, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3726, allocations: 15.92 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3726, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.3727, allocations: 12 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3727, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 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.0001084/0.3728, allocations: 125.8 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.3728, allocations: 3.906 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.3728, allocations: 12.36 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3729, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3729, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3729, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.3734, allocations: 390.3 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3734, allocations: 0 / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.3734, allocations: 4 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3735, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3735, allocations: 7.984 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3735, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3735, allocations: 3.938 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3738, allocations: 215.3 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.3739, allocations: 85.02 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3739, allocations: 3.984 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.374, allocations: 4 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.374, allocations: 11.92 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3741, allocations: 4 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.3741, allocations: 91.27 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3741, allocations: 8 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003291/0.3745, allocations: 36 kB / 1.074 GB, free: 4.262 MB / 0.8262 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.0003839/0.3749, allocations: 160.7 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3752, allocations: 79.81 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3752, allocations: 4.125 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.3753, allocations: 35.92 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3756, allocations: 15.98 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.3761, allocations: 198.4 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3764, allocations: 0.6885 MB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.3764, allocations: 7.938 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3765, allocations: 15.42 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3765, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.004392/0.3809, allocations: 1.413 MB / 1.076 GB, free: 1.613 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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