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.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.00151/0.00151, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001864/0.001864, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.933/2.933, allocations: 476 MB / 0.7699 GB, free: 4.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002336/0.002336, allocations: 70.94 kB / 1.117 GB, free: 41.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4064, allocations: 170 MB / 1.283 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003091/0.4095, allocations: 1.501 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.4112, allocations: 0.7536 MB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.4112, allocations: 0 / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.4113, allocations: 3.938 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.4113, allocations: 15.8 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.412, allocations: 147.5 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.4121, allocations: 79.77 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.4122, allocations: 8.172 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.4124, allocations: 35.92 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.4125, allocations: 43.81 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4125, allocations: 8 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.4128, allocations: 139.8 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.4128, allocations: 23.91 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.4129, allocations: 27.86 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.4132, allocations: 151.5 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4132, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4132, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.4132, allocations: 3.938 kB / 1.286 GB, free: 9.129 MB / 0.9825 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.0007163/0.4139, allocations: 348.9 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4139, allocations: 12.03 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.4143, allocations: 28.91 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.4145, allocations: 138.4 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.4145, allocations: 8.375 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4146, allocations: 4.375 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.4148, allocations: 65.78 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4148, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4148, allocations: 8 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.4148, allocations: 4 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.4149, allocations: 39.91 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.4155, allocations: 244.5 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.4157, allocations: 42.56 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.4158, allocations: 32.91 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4158, allocations: 4 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.4159, allocations: 87.38 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.4159, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004418/0.4164, allocations: 141.6 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4164, allocations: 55.39 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4166, allocations: 119 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4166, allocations: 29.7 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.4167, allocations: 96.08 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.4167, allocations: 15.84 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.4168, allocations: 29.7 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4169, allocations: 330.7 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.417, allocations: 27.97 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4171, allocations: 50.5 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.4173, allocations: 74.84 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4173, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002535/0.4176, allocations: 117.6 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4176, allocations: 4 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4176, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4176, allocations: 4 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4177, allocations: 19.92 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4177, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.4178, allocations: 4 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4178, allocations: 4 kB / 1.288 GB, free: 6.785 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.000125/0.4179, allocations: 120.4 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.4179, allocations: 15.97 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.418, allocations: 12.38 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.418, allocations: 0 / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.418, allocations: 3.938 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.418, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.4185, allocations: 326.1 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4185, allocations: 0 / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.4185, allocations: 7.984 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4185, allocations: 0 / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4185, allocations: 8 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4185, allocations: 4 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.4185, allocations: 3.984 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.4188, allocations: 215.3 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.4189, allocations: 15.88 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.4189, allocations: 4 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.419, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.419, allocations: 7.984 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.419, allocations: 7.938 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.4191, allocations: 95.27 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4191, allocations: 4 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003087/0.4194, allocations: 39.92 kB / 1.289 GB, free: 5.848 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.0004084/0.4198, allocations: 163.6 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.4201, allocations: 67.91 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4201, allocations: 4.125 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.4202, allocations: 31.97 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.4205, allocations: 10.8 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.4209, allocations: 193.4 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.31e-05/0.421, allocations: 79.28 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.4211, allocations: 19.86 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.4211, allocations: 11.44 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4211, allocations: 0 / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of Templates: time 0.004935/0.426, allocations: 1.517 MB / 1.291 GB, free: 3.746 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.continuous,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.662020834162831]