Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001604/0.001604, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.001854/0.001854, allocations: 200.5 kB / 22.17 MB, free: 5.203 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_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_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.88 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.855, allocations: 168.7 MB / 1.274 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002693/0.8577, allocations: 1.492 MB / 1.275 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.859, allocations: 0.7455 MB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.859, allocations: 4 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.8591, allocations: 3.938 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.8591, allocations: 15.86 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.8596, allocations: 123.6 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.8598, allocations: 79.7 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.8599, allocations: 11.95 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.86, allocations: 43.89 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.86, allocations: 35.84 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.8601, allocations: 8 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.8603, allocations: 103.8 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.8603, allocations: 19.92 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.8603, allocations: 31.86 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.8606, allocations: 146.2 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8606, allocations: 0 / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8606, allocations: 0 / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.8606, allocations: 0 / 1.277 GB, free: 1.555 MB / 0.9669 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.0006835/0.8613, allocations: 416.8 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.8613, allocations: 12.03 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.8614, allocations: 8.891 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.8615, allocations: 188.1 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.8615, allocations: 8.375 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.8615, allocations: 384 / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.8617, allocations: 69.97 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8617, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.8618, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8618, allocations: 4 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.8619, allocations: 47.91 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.8625, allocations: 304.8 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.8626, allocations: 46.5 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.8627, allocations: 32.97 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.8627, allocations: 4 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.8629, allocations: 79.44 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.8629, allocations: 0 / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004083/0.8633, allocations: 145.5 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.8634, allocations: 51.41 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.8635, allocations: 133.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.8635, allocations: 29.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.8636, allocations: 92.12 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.8636, allocations: 19.84 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.8637, allocations: 29.7 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8638, allocations: 318.8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.8639, allocations: 27.98 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.834e-05/0.864, allocations: 46.56 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.8642, allocations: 74.48 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8642, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000256/0.8644, allocations: 117.5 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.8644, allocations: 8.062 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8645, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8645, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.8646, allocations: 11.98 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8646, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.8646, allocations: 7.938 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.8646, allocations: 11.94 kB / 1.279 GB, free: 15 MB / 0.9825 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.0001052/0.8647, allocations: 125.7 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.8648, allocations: 11.95 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.8648, allocations: 16.36 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8648, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8648, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.8648, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.8653, allocations: 382.4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.8653, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.8653, allocations: 7.984 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.8653, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8654, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8654, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8654, allocations: 3.938 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.8657, allocations: 208 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.8657, allocations: 85.06 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.8657, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.8658, allocations: 8 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.8659, allocations: 19.86 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.8659, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.591e-05/0.8659, allocations: 91.27 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8659, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002869/0.8662, allocations: 39.92 kB / 1.28 GB, free: 13.91 MB / 0.9825 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.0003447/0.8666, allocations: 179.5 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.8668, allocations: 67.91 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8668, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.8669, allocations: 27.98 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.8672, allocations: 7.984 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.8676, allocations: 204.8 kB / 1.28 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.8679, allocations: 0.6911 MB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.8679, allocations: 7.984 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.868, allocations: 11.44 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.868, allocations: 0 / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.004427/0.8724, allocations: 1.475 MB / 1.283 GB, free: 11.21 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.777708713896573]