Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 110.3 kB / 16.42 MB, free: 6.461 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.002004/0.002004, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.525/2.525, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.782/5.782, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 75.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381/1.384, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00547/1.389, allocations: 1.487 MB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002748/1.392, allocations: 0.7206 MB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/1.392, allocations: 0 / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.153e-05/1.392, allocations: 3.938 kB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/1.392, allocations: 19.8 kB / 1.211 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/1.393, allocations: 123.6 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/1.394, allocations: 79.77 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/1.394, allocations: 11.95 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/1.394, allocations: 43.83 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/1.394, allocations: 35.84 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/1.394, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/1.395, allocations: 103.8 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/1.395, allocations: 15.97 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/1.395, allocations: 31.8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/1.395, allocations: 141.5 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/1.395, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/1.395, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.395, allocations: 0 / 1.211 GB, free: 10.96 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.001108/1.396, allocations: 420.9 kB / 1.212 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/1.397, allocations: 12.03 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/1.397, allocations: 8.844 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/1.397, allocations: 168.3 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/1.397, allocations: 4.375 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/1.397, allocations: 12.3 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/1.397, allocations: 73.95 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.397, allocations: 4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.397, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.397, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/1.398, allocations: 39.97 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/1.399, allocations: 312.7 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/1.399, allocations: 50.5 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/1.399, allocations: 32.97 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/1.399, allocations: 4 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/1.4, allocations: 75.38 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.524e-06/1.4, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005947/1.4, allocations: 145.5 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/1.4, allocations: 51.41 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/1.401, allocations: 133.7 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/1.401, allocations: 29.7 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/1.401, allocations: 88.12 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/1.401, allocations: 15.81 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/1.401, allocations: 29.7 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.401, allocations: 318.8 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.401, allocations: 27.97 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/1.401, allocations: 51 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/1.402, allocations: 74.42 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.402, allocations: 0 / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004982/1.402, allocations: 117.5 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.402, allocations: 12.06 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.402, allocations: 0 / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.794e-05/1.402, allocations: 0 / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/1.403, allocations: 11.98 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/1.403, allocations: 4 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/1.403, allocations: 11.94 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/1.403, allocations: 0 / 1.213 GB, free: 8.422 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 0.0001874/1.403, allocations: 129.2 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/1.403, allocations: 15.89 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/1.403, allocations: 8.375 kB / 1.214 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.403, allocations: 0 / 1.214 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.403, allocations: 0 / 1.214 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/1.403, allocations: 85.02 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/1.404, allocations: 7.984 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.404, allocations: 15.86 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/1.404, allocations: 0 / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005454/1.404, allocations: 189.3 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005869/1.405, allocations: 290.8 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001768/1.405, allocations: 31.98 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.551e-05/1.405, allocations: 95.42 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of Backend: time 7.62e-07/1.405, allocations: 0 / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.407, allocations: 182.3 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008577/1.407, allocations: 0.6182 MB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.00902/1.416, allocations: 1.542 MB / 1.216 GB, free: 5.152 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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