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.001057/0.001058, allocations: 108.3 kB / 16.41 MB, free: 6.449 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.001063/0.001063, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.288/1.288, 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 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 68.11 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7135, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002727/0.7162, allocations: 1.481 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.7175, allocations: 0.7245 MB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.7176, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.7177, allocations: 7.922 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.7178, allocations: 15.86 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.7183, allocations: 123.6 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.7185, allocations: 75.78 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.7186, allocations: 15.92 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.7187, allocations: 39.84 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.7188, allocations: 43.83 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.7188, allocations: 4 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.719, allocations: 99.91 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.7191, allocations: 15.91 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.7191, allocations: 31.86 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.7194, allocations: 147.4 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7194, allocations: 3.938 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7194, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7194, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 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.0006161/0.72, allocations: 414.8 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7201, allocations: 12.03 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.7201, allocations: 8.844 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7203, allocations: 168.3 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.7203, allocations: 8.375 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.7203, allocations: 4.375 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.7205, allocations: 73.91 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7205, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.7205, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7205, allocations: 3.938 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.7207, allocations: 43.95 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.7213, allocations: 316.7 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.7214, allocations: 50.5 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.7215, allocations: 32.97 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.7215, allocations: 4 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.7217, allocations: 71.38 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.7217, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.7221, allocations: 141.6 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7221, allocations: 59.34 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.7222, allocations: 125.7 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.7223, allocations: 33.7 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.7223, allocations: 84.14 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.7223, allocations: 19.8 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.7224, allocations: 29.7 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.7225, allocations: 318.8 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.7226, allocations: 23.98 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.7227, allocations: 58.92 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.7228, allocations: 70.48 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7228, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002244/0.7231, allocations: 109.5 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7231, allocations: 14.25 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7231, allocations: 3.984 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.7231, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.7232, allocations: 8 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7233, allocations: 7.938 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.7233, allocations: 11.92 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.7233, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 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 8.443e-05/0.7234, allocations: 125.7 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.7235, allocations: 11.91 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.7235, allocations: 12.3 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7235, allocations: 0 / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7235, allocations: 0 / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.7236, allocations: 89.02 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.7236, allocations: 4 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.7237, allocations: 7.938 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.7237, allocations: 7.969 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002691/0.724, allocations: 189.3 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002823/0.7243, allocations: 290.8 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.245e-05/0.7244, allocations: 31.98 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.7244, allocations: 91.27 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of Backend: time 3.21e-07/0.7244, allocations: 0 / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.725, allocations: 180.4 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000451/0.7255, allocations: 0.6259 MB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of Templates: time 0.004002/0.7295, allocations: 1.537 MB / 1.216 GB, free: 5.008 MB / 0.9356 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/jenkins1/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