Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 97.11 kB / 19.71 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002359/0.002359, allocations: 208.8 kB / 23 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.122/3.122, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 73.11 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3085, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002888/0.3114, allocations: 1.501 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3128, allocations: 0.7089 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.3128, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.557e-05/0.3129, allocations: 7.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.3129, allocations: 11.86 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.3134, allocations: 131.6 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3136, allocations: 87.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.3137, allocations: 11.98 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3138, allocations: 47.83 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.3139, allocations: 35.84 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3139, allocations: 8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.3141, allocations: 131.8 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.3142, allocations: 39.84 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.3142, allocations: 39.73 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.3145, allocations: 191.1 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3145, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3145, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3145, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006813/0.3152, allocations: 432.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3152, allocations: 8.031 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.3156, allocations: 44.81 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3159, allocations: 142.3 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3159, allocations: 384 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3159, allocations: 4.375 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.3162, allocations: 201.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3162, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3162, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3162, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3164, allocations: 104 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.317, allocations: 284.2 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3172, allocations: 118.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3173, allocations: 97.22 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3174, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.3176, allocations: 216.2 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.523e-06/0.3176, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008128/0.3185, allocations: 0.5204 MB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.3185, allocations: 91.36 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3186, allocations: 137.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.3187, allocations: 57.69 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.3188, allocations: 97.08 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.3189, allocations: 99.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.319, allocations: 97.67 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3191, allocations: 346.7 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.3194, allocations: 180.6 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.3198, allocations: 243.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.3203, allocations: 431.2 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3203, allocations: 3.938 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007696/0.3211, allocations: 0.5126 MB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3211, allocations: 8.094 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3211, allocations: 4 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3212, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3213, allocations: 23.86 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3213, allocations: 4 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.3214, allocations: 47.67 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3215, allocations: 8 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (hea.occ,hea.ran,$PRE.hea.ran,hea.state[33],$PRE.hea.state[33],hea.state[32],$PRE.hea.state[32],hea.state[31],$PRE.hea.state[31],hea.state[30],$PRE.hea.state[30],hea.state[29],$PRE.hea.state[29],hea.state[28],$PRE.hea.state[28],hea.state[27],$PRE.hea.state[27],hea.state[26],$PRE.hea.state[26],hea.state[25],$PRE.hea.state[25],hea.state[24],$PRE.hea.state[24],hea.state[23],$PRE.hea.state[23],hea.state[22],$PRE.hea.state[22],hea.state[21],$PRE.hea.state[21],hea.state[20],$PRE.hea.state[20],hea.state[19],$PRE.hea.state[19],hea.state[18],$PRE.hea.state[18],hea.state[17],$PRE.hea.state[17],hea.state[16],$PRE.hea.state[16],hea.state[15],$PRE.hea.state[15],hea.state[14],$PRE.hea.state[14],hea.state[13],$PRE.hea.state[13],hea.state[12],$PRE.hea.state[12],hea.state[11],$PRE.hea.state[11],hea.state[10],$PRE.hea.state[10],hea.state[9],$PRE.hea.state[9],hea.state[8],$PRE.hea.state[8],hea.state[7],$PRE.hea.state[7],hea.state[6],$PRE.hea.state[6],hea.state[5],$PRE.hea.state[5],hea.state[4],$PRE.hea.state[4],hea.state[3],$PRE.hea.state[3],hea.state[2],$PRE.hea.state[2],hea.state[1],$PRE.hea.state[1],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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002151/0.3217, allocations: 207.4 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3217, allocations: 11.91 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3217, allocations: 13.62 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3217, allocations: 0 / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3217, allocations: 4 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.3218, allocations: 19.78 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3218, allocations: 31.98 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.3219, allocations: 7.984 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.3219, allocations: 15.86 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000594/0.3225, allocations: 428.1 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006173/0.3231, allocations: 0.5239 MB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001591/0.3233, allocations: 92.14 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.3233, allocations: 100.6 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of Backend: time 7.62e-07/0.3233, allocations: 0 / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.3244, allocations: 439.3 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007168/0.3251, allocations: 0.7596 MB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of Templates: time 0.005944/0.331, allocations: 2.403 MB / 1.339 GB, free: 4.309 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.globalSeed,hea.localSeed,hea.occ,hea.on,hea.samplePeriod,hea.t0,occ.startTime,occ.startValue,time [Calling sys.exit(0), Time elapsed: 8.604505187999166]