Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_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_10_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.001598/0.001598, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001721/0.001721, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.38/2.38, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6718, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002304/0.6741, allocations: 1.485 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.6752, allocations: 0.7284 MB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.6753, allocations: 0 / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.6753, allocations: 3.938 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.6754, allocations: 11.86 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.6759, allocations: 123.6 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.676, allocations: 83.7 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.6761, allocations: 11.98 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.6762, allocations: 31.92 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.6762, allocations: 43.83 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.6763, allocations: 4 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.6764, allocations: 99.84 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.6765, allocations: 15.97 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.6765, allocations: 39.78 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.6768, allocations: 136.1 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6768, allocations: 4 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6768, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.6768, allocations: 7.938 kB / 1.17 GB, free: 1.023 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.0005494/0.6773, allocations: 416.7 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.6774, allocations: 12.03 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.6774, allocations: 4.891 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6775, allocations: 176.3 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.6776, allocations: 8.375 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.6776, allocations: 8.375 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.6778, allocations: 73.97 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6778, allocations: 3.984 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.6778, allocations: 0 / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6778, allocations: 0 / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.6779, allocations: 35.97 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.6785, allocations: 324.6 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.6786, allocations: 50.55 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.6787, allocations: 32.97 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.6788, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.6789, allocations: 71.38 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.977e-06/0.679, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003882/0.6793, allocations: 145.5 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.6794, allocations: 55.41 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.6795, allocations: 117.8 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.6795, allocations: 33.7 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.6796, allocations: 88.09 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.6796, allocations: 19.97 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.6797, allocations: 33.7 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.6798, allocations: 322.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.6798, allocations: 23.98 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.6799, allocations: 50.55 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.6801, allocations: 74.8 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6801, allocations: 4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002409/0.6804, allocations: 109.5 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6804, allocations: 8 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6804, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.6804, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.6805, allocations: 15.98 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6805, allocations: 12 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.6806, allocations: 7.938 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.6806, allocations: 7.984 kB / 1.172 GB, free: 14.47 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.846e-05/0.6807, allocations: 121.8 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.6807, allocations: 7.953 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.6808, allocations: 4.375 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6808, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6808, allocations: 3.938 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.6808, allocations: 101 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.6809, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.6809, allocations: 7.938 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.681, allocations: 3.984 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002934/0.6813, allocations: 192.8 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002962/0.6816, allocations: 282.8 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.408e-05/0.6817, allocations: 35.97 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.6817, allocations: 95.86 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of Backend: time 4.81e-07/0.6817, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.6824, allocations: 179.2 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004333/0.6828, allocations: 0.622 MB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.003932/0.6867, allocations: 1.515 MB / 1.175 GB, free: 11.24 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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