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.001481/0.001481, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002015/0.002015, allocations: 220 kB / 22.26 MB, free: 5.121 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 7.973 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.895/2.895, allocations: 476.7 MB / 0.7706 GB, free: 4.273 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.002224/0.002224, allocations: 68.36 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4254, allocations: 170 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003075/0.4285, allocations: 1.514 MB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4302, allocations: 0.8197 MB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.4303, allocations: 7.938 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.4303, allocations: 3.938 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.4304, allocations: 7.875 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.4311, allocations: 143.6 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.4313, allocations: 79.7 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4314, allocations: 16.11 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.4315, allocations: 39.84 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.4316, allocations: 43.83 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.4317, allocations: 12 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.432, allocations: 143.8 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.432, allocations: 11.98 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.4321, allocations: 39.78 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.4324, allocations: 151.5 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4324, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4324, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4324, allocations: 0 / 1.287 GB, free: 8.191 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.0007184/0.4331, allocations: 351.5 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4331, allocations: 8.031 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.4335, allocations: 28.88 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.4338, allocations: 134.4 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.4338, allocations: 8.375 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.4338, allocations: 8.312 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.434, allocations: 77.7 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.434, allocations: 0 / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.434, allocations: 8 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4341, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4342, allocations: 39.91 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.4348, allocations: 279.9 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.435, allocations: 50.5 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.435, allocations: 28.97 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.4351, allocations: 3.984 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4352, allocations: 71.39 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.4352, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000423/0.4357, allocations: 149.9 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.4357, allocations: 63.34 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.4359, allocations: 123.6 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.4359, allocations: 25.7 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.436, allocations: 96.09 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.436, allocations: 11.84 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.436, allocations: 29.7 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4362, allocations: 326.8 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.4363, allocations: 31.98 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.864e-05/0.4364, allocations: 46.55 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.4366, allocations: 70.5 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4366, allocations: 0 / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002497/0.4368, allocations: 117.5 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4368, allocations: 4 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4368, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4369, allocations: 4 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.437, allocations: 15.98 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.437, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.437, allocations: 4 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4371, allocations: 7.984 kB / 1.289 GB, free: 5.801 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.0001078/0.4372, allocations: 125.8 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.4372, allocations: 11.89 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.4372, allocations: 8.375 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4372, allocations: 7.984 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4372, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4372, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.4377, allocations: 353.5 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4377, allocations: 0 / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.4378, allocations: 11.92 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4378, allocations: 0 / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.4378, allocations: 11.94 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4378, allocations: 3.938 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4378, allocations: 0 / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.4381, allocations: 207.5 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.4381, allocations: 15.89 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4381, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.4382, allocations: 7.938 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.4383, allocations: 7.984 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.4383, allocations: 0 / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.4383, allocations: 101.3 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4383, allocations: 0 / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003201/0.4387, allocations: 39.92 kB / 1.29 GB, free: 4.828 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.0004093/0.4391, allocations: 161.4 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.4393, allocations: 71.94 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4393, allocations: 0 / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4394, allocations: 31.92 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.4397, allocations: 18.06 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.4402, allocations: 201.4 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.4405, allocations: 0.6885 MB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.4406, allocations: 4 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.4406, allocations: 7.438 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.4406, allocations: 8 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.005061/0.4457, allocations: 1.489 MB / 1.292 GB, free: 2.117 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.661727695725858]