Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.001465/0.001465, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001695/0.001695, allocations: 210.9 kB / 23 MB, free: 4.934 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.116/3.116, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [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.002014/0.002014, allocations: 71.92 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002858/0.3138, allocations: 1.497 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3152, allocations: 0.709 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.3152, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.654e-05/0.3153, allocations: 11.88 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.3154, allocations: 15.84 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.3159, allocations: 131.6 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3161, allocations: 83.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.3162, allocations: 7.984 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.3163, allocations: 55.77 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.3164, allocations: 39.83 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3164, allocations: 8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.3167, allocations: 127.8 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.3167, allocations: 35.92 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.3168, allocations: 47.66 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3171, allocations: 187.1 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3171, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3171, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3171, 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.0006878/0.3178, allocations: 428.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3178, allocations: 12.03 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.3182, allocations: 40.81 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.3184, allocations: 142.3 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3185, allocations: 4.375 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3185, allocations: 4.375 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.3188, allocations: 201.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3188, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3188, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3188, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.319, allocations: 107.9 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.3196, allocations: 280.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3198, allocations: 114.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3199, allocations: 97.22 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3199, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.3202, allocations: 220.2 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.473e-06/0.3202, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008159/0.321, allocations: 0.5243 MB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3211, allocations: 87.38 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3212, allocations: 137.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.3213, allocations: 57.69 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.3214, allocations: 97.08 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3215, allocations: 103.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3216, allocations: 93.67 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3217, allocations: 342.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.322, allocations: 180.6 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.3224, allocations: 243.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.323, allocations: 427.2 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.323, allocations: 3.938 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007777/0.3237, allocations: 0.5126 MB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3237, allocations: 8.094 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3238, allocations: 4 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.3238, allocations: 4 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3239, allocations: 23.92 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3239, allocations: 0 / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.3241, allocations: 43.67 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3241, allocations: 12 kB / 1.334 GB, free: 9.367 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.00021/0.3243, allocations: 203.4 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3243, allocations: 19.91 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.3243, allocations: 5.625 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3243, allocations: 0 / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3243, allocations: 4 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.3244, allocations: 27.72 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.3244, allocations: 31.98 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.3245, allocations: 7.984 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.3245, allocations: 11.92 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006103/0.3252, allocations: 432.1 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006313/0.3258, allocations: 0.5239 MB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001516/0.3259, allocations: 95.91 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.326, allocations: 98.77 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of Backend: time 2.31e-07/0.326, allocations: 0 / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.327, allocations: 445 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007158/0.3277, allocations: 0.7518 MB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of Templates: time 0.005941/0.3337, allocations: 2.404 MB / 1.339 GB, free: 4.301 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.457042287998775]