Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00113/0.00113, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001156/0.001157, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.68/0.6813, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002293/0.6837, allocations: 1.486 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.6848, allocations: 0.7323 MB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.6849, allocations: 4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.6849, allocations: 3.938 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.6849, allocations: 7.875 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.6854, allocations: 123.6 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.6856, allocations: 83.7 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.6857, allocations: 15.98 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.6857, allocations: 27.92 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.6858, allocations: 43.81 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.6858, allocations: 8 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.686, allocations: 95.84 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.6861, allocations: 15.98 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.6861, allocations: 31.8 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.6863, allocations: 147.5 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6863, allocations: 3.938 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6863, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.6864, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 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.0005714/0.6869, allocations: 421 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.687, allocations: 8.031 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.687, allocations: 12.78 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.6871, allocations: 172.3 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.6872, allocations: 8.375 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.6872, allocations: 4.375 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.6873, allocations: 69.97 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6874, allocations: 3.984 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6874, allocations: 0 / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.6874, allocations: 4 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.6875, allocations: 31.98 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.6881, allocations: 324.6 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.6882, allocations: 46.56 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.6883, allocations: 28.97 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.6883, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.6885, allocations: 91.38 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.6885, allocations: 3.938 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000369/0.6889, allocations: 133.5 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.6889, allocations: 55.39 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.689, allocations: 125.8 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6891, allocations: 25.7 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.6891, allocations: 92.12 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.6891, allocations: 19.81 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.6892, allocations: 29.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.6893, allocations: 318.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.6894, allocations: 27.97 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.6895, allocations: 42.56 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.6896, allocations: 82.47 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6896, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002298/0.6899, allocations: 113.5 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.6899, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6899, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6899, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.69, allocations: 19.98 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.69, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.6901, allocations: 11.94 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6901, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 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 7.933e-05/0.6902, allocations: 117.8 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.6902, allocations: 11.89 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.6903, allocations: 20.3 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6903, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6903, allocations: 7.938 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.6903, allocations: 81.02 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.6903, allocations: 4 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.6904, allocations: 7.922 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.6905, allocations: 4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002878/0.6908, allocations: 193.2 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002903/0.6911, allocations: 286.8 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.716e-05/0.6912, allocations: 27.98 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.6912, allocations: 95.92 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of Backend: time 2.01e-07/0.6912, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.6918, allocations: 189.7 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004338/0.6923, allocations: 0.6173 MB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.003899/0.6962, allocations: 1.51 MB / 1.175 GB, free: 11.29 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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