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 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.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.001564/0.001564, allocations: 111.9 kB / 16.42 MB, free: 6.453 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.001084/0.001084, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.295/1.295, 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 12.0.0-master/package.mo): time 2.524/2.524, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.89 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.657/0.6583, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002531/0.6609, allocations: 1.471 MB / 1.228 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.6621, allocations: 0.7334 MB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.6622, allocations: 3.938 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.6622, allocations: 3.938 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.6623, allocations: 15.8 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.6629, allocations: 119.6 kB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.663, allocations: 79.81 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.6631, allocations: 15.95 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.6632, allocations: 43.84 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.6633, allocations: 39.83 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.6633, allocations: 4 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.6635, allocations: 91.91 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.6636, allocations: 19.92 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.6636, allocations: 27.86 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.6639, allocations: 148 kB / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6639, allocations: 0 / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6639, allocations: 0 / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6639, allocations: 0 / 1.229 GB, free: 10.69 MB / 0.9512 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.0005856/0.6645, allocations: 428.7 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6645, allocations: 8.031 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.6646, allocations: 8.891 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.6647, allocations: 172.3 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.6647, allocations: 4.375 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.6647, allocations: 8.375 kB / 1.23 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.6649, allocations: 73.91 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6649, allocations: 7.938 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.665, allocations: 0 / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.665, allocations: 0 / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.6651, allocations: 35.97 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.6657, allocations: 316.7 kB / 1.23 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.6658, allocations: 50.5 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.6659, allocations: 32.97 kB / 1.23 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.6659, allocations: 8.047 kB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.6661, allocations: 79.33 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.6661, allocations: 0 / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003887/0.6665, allocations: 137.6 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.6666, allocations: 55.41 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.6667, allocations: 125.7 kB / 1.231 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.6667, allocations: 33.69 kB / 1.231 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.6667, allocations: 84.14 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.6668, allocations: 19.89 kB / 1.231 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.6668, allocations: 33.7 kB / 1.231 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.6669, allocations: 326.8 kB / 1.231 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.667, allocations: 19.98 kB / 1.231 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.6671, allocations: 46.56 kB / 1.231 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.6673, allocations: 78.78 kB / 1.231 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6673, allocations: 4 kB / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.6675, allocations: 109.5 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6675, allocations: 8 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6676, allocations: 0 / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6676, allocations: 3.938 kB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.6677, allocations: 12.05 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6677, allocations: 8 kB / 1.231 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.6678, allocations: 11.94 kB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.6678, allocations: 4 kB / 1.231 GB, free: 8.137 MB / 0.9512 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.401e-05/0.6679, allocations: 126.2 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.855e-05/0.6679, allocations: 7.953 kB / 1.231 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.6679, allocations: 8.375 kB / 1.231 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6679, allocations: 0 / 1.231 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.668, allocations: 4 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.668, allocations: 85.06 kB / 1.232 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.668, allocations: 3.984 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.6681, allocations: 11.94 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.6681, allocations: 3.984 kB / 1.232 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002827/0.6684, allocations: 184.9 kB / 1.232 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002943/0.6687, allocations: 298.7 kB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.813e-05/0.6688, allocations: 27.98 kB / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.6689, allocations: 91.92 kB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of Backend: time 3.8e-07/0.6689, allocations: 0 / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006212/0.6695, allocations: 185.1 kB / 1.232 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004248/0.6699, allocations: 0.6297 MB / 1.233 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of Templates: time 0.003894/0.6739, allocations: 1.501 MB / 1.234 GB, free: 4.91 MB / 0.9512 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