Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.001755/0.001755, 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.001449/0.001449, allocations: 207.5 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.236/3.236, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [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.002051/0.002051, allocations: 68.64 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3144, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.00305/0.3175, allocations: 1.505 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.319, allocations: 0.709 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.3191, allocations: 3.938 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.3191, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.3192, allocations: 11.86 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.3198, allocations: 135.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3199, allocations: 83.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.32, allocations: 11.98 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3201, allocations: 39.91 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.3202, allocations: 51.81 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3202, allocations: 11.94 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.3205, allocations: 123.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.3206, allocations: 35.84 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.3206, allocations: 47.66 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.3209, allocations: 191.1 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3209, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3209, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.3209, allocations: 0 / 1.33 GB, free: 14.04 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.000723/0.3217, allocations: 425.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3217, allocations: 16.03 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.3221, allocations: 40.81 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3224, allocations: 146.3 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3224, allocations: 384 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3224, allocations: 8.375 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.3228, allocations: 197.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3228, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3228, allocations: 3.984 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3228, allocations: 8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.323, allocations: 104 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.3237, allocations: 276.2 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3239, allocations: 114.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.324, allocations: 97.2 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.324, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.3243, allocations: 216.3 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.3243, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008325/0.3252, allocations: 0.5242 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.3252, allocations: 87.39 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3254, allocations: 145.7 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.3254, allocations: 53.69 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.3255, allocations: 101.1 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3256, allocations: 103.3 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3257, allocations: 93.67 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3259, allocations: 342.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3262, allocations: 176.6 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.3265, allocations: 239.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.3271, allocations: 431.2 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3271, allocations: 3.938 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007733/0.3279, allocations: 0.5126 MB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3279, allocations: 11.98 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3279, allocations: 0 / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3279, allocations: 4 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3281, allocations: 23.92 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3281, allocations: 0 / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3282, allocations: 39.69 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3282, allocations: 12 kB / 1.334 GB, free: 9.348 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.0002341/0.3284, allocations: 203.5 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.3285, allocations: 19.89 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.3285, allocations: 13.62 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3285, allocations: 0 / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3285, allocations: 0 / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.3285, allocations: 23.78 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.3286, allocations: 27.98 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.3287, allocations: 7.984 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3287, allocations: 11.94 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006552/0.3294, allocations: 432 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006763/0.33, allocations: 0.5317 MB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001553/0.3302, allocations: 95.95 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.3303, allocations: 96.45 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of Backend: time 4.11e-07/0.3303, allocations: 0 / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.3313, allocations: 455.7 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007236/0.332, allocations: 0.7456 MB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of Templates: time 0.006073/0.3381, allocations: 2.404 MB / 1.339 GB, free: 4.277 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.72369117600465]