Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 103.7 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.25/3.25, allocations: 496.1 MB / 0.7801 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_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_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 64.11 kB / 1.133 GB, free: 34.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4418, allocations: 173.7 MB / 1.303 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003408/0.4452, allocations: 1.478 MB / 1.304 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.4468, allocations: 0.74 MB / 1.305 GB, free: 428 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.4469, allocations: 0 / 1.305 GB, free: 428 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.4469, allocations: 3.938 kB / 1.305 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.447, allocations: 19.86 kB / 1.305 GB, free: 404 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.4476, allocations: 119.6 kB / 1.305 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.4477, allocations: 79.77 kB / 1.305 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.4478, allocations: 7.984 kB / 1.305 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.4479, allocations: 35.86 kB / 1.305 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.448, allocations: 43.83 kB / 1.305 GB, free: 116 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.448, allocations: 4 kB / 1.305 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.4482, allocations: 103.9 kB / 1.305 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.4483, allocations: 15.92 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.4483, allocations: 39.84 kB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.4486, allocations: 147.4 kB / 1.305 GB, free: 15.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4486, allocations: 0 / 1.305 GB, free: 15.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4486, allocations: 0 / 1.305 GB, free: 15.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.4486, allocations: 0 / 1.305 GB, free: 15.81 MB / 1.014 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.0008988/0.4495, allocations: 416.7 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4496, allocations: 8.031 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.4496, allocations: 16.88 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.4498, allocations: 176.3 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.4498, allocations: 384 / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.4498, allocations: 4.375 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.4501, allocations: 81.89 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4501, allocations: 0 / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4501, allocations: 0 / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4501, allocations: 0 / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.4502, allocations: 39.97 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.451, allocations: 320.7 kB / 1.306 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4512, allocations: 50.48 kB / 1.306 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.4513, allocations: 28.97 kB / 1.306 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4513, allocations: 0 / 1.306 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.4516, allocations: 83.38 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4516, allocations: 0 / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004351/0.452, allocations: 137.6 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.4521, allocations: 55.34 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.4522, allocations: 125.8 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4522, allocations: 29.64 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4523, allocations: 100.2 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.4524, allocations: 15.83 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.4524, allocations: 29.72 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4527, allocations: 322.8 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.4527, allocations: 23.98 kB / 1.307 GB, free: 13.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4529, allocations: 50.55 kB / 1.307 GB, free: 13.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.453, allocations: 74.5 kB / 1.307 GB, free: 13.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.453, allocations: 0 / 1.307 GB, free: 13.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002717/0.4533, allocations: 113.5 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4533, allocations: 4 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4533, allocations: 4 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4533, allocations: 4.062 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.4534, allocations: 15.98 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4534, allocations: 0 / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.4535, allocations: 11.98 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4535, allocations: 7.938 kB / 1.308 GB, free: 13.26 MB / 1.014 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 0.0001181/0.4536, allocations: 121.7 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.4537, allocations: 7.953 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.4537, allocations: 8.375 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.4537, allocations: 8 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4537, allocations: 0 / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4537, allocations: 3.984 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.4542, allocations: 386.4 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4542, allocations: 0 / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.4543, allocations: 7.938 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4543, allocations: 0 / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4543, allocations: 0 / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4543, allocations: 4 kB / 1.308 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4543, allocations: 7.938 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4546, allocations: 200 kB / 1.308 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.4547, allocations: 85.06 kB / 1.308 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.4547, allocations: 4 kB / 1.308 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.4548, allocations: 7.984 kB / 1.308 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.4548, allocations: 3.938 kB / 1.308 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4548, allocations: 11.98 kB / 1.308 GB, free: 12.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.4549, allocations: 87.94 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4549, allocations: 0 / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002999/0.4552, allocations: 39.92 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004084/0.4556, allocations: 167.6 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.4559, allocations: 71.94 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4559, allocations: 0 / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.456, allocations: 35.92 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.4562, allocations: 9.875 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.4567, allocations: 188.7 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4572, allocations: 0.6925 MB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.95e-05/0.4572, allocations: 7.984 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.4572, allocations: 11.44 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.4572, allocations: 0 / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of Templates: time 0.005119/0.4624, allocations: 1.477 MB / 1.311 GB, free: 9.484 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.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 [Calling sys.exit(0), Time elapsed: 9.668195118196309]