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 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.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.001508/0.001508, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001856/0.001857, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.958/2.958, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.06 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002879/0.3702, allocations: 1.533 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3715, allocations: 0.7438 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.3716, allocations: 11.94 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.3716, allocations: 3.938 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.812e-05/0.3717, allocations: 3.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.3722, allocations: 103.8 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3723, allocations: 71.83 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.3724, allocations: 4 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.3725, allocations: 39.84 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.3726, allocations: 39.83 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3726, allocations: 4 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.3728, allocations: 87.91 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.3728, allocations: 19.91 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.3729, allocations: 27.86 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.3731, allocations: 143.8 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3731, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3731, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3731, allocations: 0 / 1.055 GB, free: 5.984 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.0006755/0.3738, allocations: 421 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3739, allocations: 8.031 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.3739, allocations: 8.844 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3741, allocations: 172.2 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.3741, allocations: 4.375 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3741, allocations: 4.375 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3743, allocations: 73.95 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3743, allocations: 3.938 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3744, allocations: 7.984 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3744, allocations: 4 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.3745, allocations: 39.97 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.3752, allocations: 312.7 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3753, allocations: 50.56 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3754, allocations: 40.91 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3754, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.3757, allocations: 75.38 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3757, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004356/0.3761, allocations: 145.6 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.3762, allocations: 51.41 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.3763, allocations: 121.8 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3763, allocations: 33.58 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.3764, allocations: 92.14 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3764, allocations: 19.73 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.3764, allocations: 29.7 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3766, allocations: 318.8 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.3767, allocations: 31.98 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.3768, allocations: 46.55 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3769, allocations: 74.48 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3769, allocations: 4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002423/0.3772, allocations: 109.5 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3772, allocations: 4 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3772, allocations: 7.984 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3772, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.3773, allocations: 12 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3774, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.3774, allocations: 11.89 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3775, allocations: 8 kB / 1.057 GB, free: 3.438 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 9.327e-05/0.3776, allocations: 124.9 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3776, allocations: 7.938 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3776, allocations: 12.36 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3776, allocations: 4 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3776, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3776, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.3781, allocations: 386.7 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3781, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.3782, allocations: 4 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3782, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3782, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3782, allocations: 11.92 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.3782, allocations: 4.016 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3785, allocations: 215.4 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.3786, allocations: 81.11 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3786, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.3787, allocations: 7.984 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3787, allocations: 3.938 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3787, allocations: 7.984 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.3788, allocations: 95.86 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3788, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003053/0.3791, allocations: 36 kB / 1.058 GB, free: 2.359 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.0003245/0.3795, allocations: 165.7 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3797, allocations: 75.89 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3797, allocations: 3.938 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.3798, allocations: 40.05 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3801, allocations: 4 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.3805, allocations: 202.6 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3808, allocations: 0.6926 MB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.3808, allocations: 4 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.3808, allocations: 11.44 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3809, allocations: 0 / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of Templates: time 0.004105/0.385, allocations: 1.382 MB / 1.061 GB, free: 15.74 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