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.001792/0.001792, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002264/0.002264, allocations: 162.3 kB / 23.01 MB, free: 4.949 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.512/1.512, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.818/2.818, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.002285/0.002285, allocations: 67.88 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3698, allocations: 169.9 MB / 1.117 GB, free: 2.602 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003127/0.3729, allocations: 1.485 MB / 1.119 GB, free: 1.105 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3745, allocations: 0.7635 MB / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.3746, allocations: 0 / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.3746, allocations: 7.875 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.3747, allocations: 15.86 kB / 1.12 GB, free: 320 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.3754, allocations: 147.5 kB / 1.12 GB, free: 172 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3755, allocations: 83.7 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.3756, allocations: 8.172 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.3758, allocations: 35.91 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/0.3759, allocations: 39.83 kB / 1.12 GB, free: 4 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.3759, allocations: 8.047 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.3762, allocations: 135.7 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.3763, allocations: 15.98 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.3763, allocations: 31.84 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.3767, allocations: 155.5 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3767, allocations: 0 / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3767, allocations: 0 / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3767, allocations: 3.938 kB / 1.12 GB, free: 15.66 MB / 1.076 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.0007207/0.3774, allocations: 347.5 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3774, allocations: 12.03 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.3778, allocations: 32.88 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3781, allocations: 138.3 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3781, allocations: 8.375 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3781, allocations: 4.375 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3783, allocations: 73.77 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3783, allocations: 0 / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3784, allocations: 4 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3784, allocations: 0 / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3785, allocations: 35.97 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.3791, allocations: 248.4 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3792, allocations: 46.55 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.3793, allocations: 32.97 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3794, allocations: 0 / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3795, allocations: 79.38 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3795, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004574/0.38, allocations: 153.6 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.38, allocations: 51.41 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3802, allocations: 130 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3802, allocations: 29.7 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.3803, allocations: 88.14 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3803, allocations: 19.83 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.3803, allocations: 25.7 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3805, allocations: 322.8 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.3806, allocations: 31.92 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3807, allocations: 50.48 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.3809, allocations: 78.48 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3809, allocations: 0 / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002673/0.3811, allocations: 113.5 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3812, allocations: 11.98 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3812, allocations: 0 / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3812, allocations: 0 / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.3813, allocations: 16 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3813, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.3814, allocations: 7.984 kB / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3814, allocations: 0 / 1.122 GB, free: 13.31 MB / 1.076 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.0001148/0.3815, allocations: 121.8 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.3815, allocations: 3.953 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.3815, allocations: 16.42 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3815, allocations: 0 / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3815, allocations: 0 / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3815, allocations: 4 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.382, allocations: 330 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3821, allocations: 0 / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.3821, allocations: 4 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3821, allocations: 0 / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3821, allocations: 7.984 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3821, allocations: 8 kB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3821, allocations: 0 / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.3824, allocations: 219.3 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.3825, allocations: 11.94 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3825, allocations: 3.984 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.3826, allocations: 4 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3826, allocations: 3.984 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3826, allocations: 7.938 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.057e-05/0.3827, allocations: 97.52 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3827, allocations: 4 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003291/0.383, allocations: 35.94 kB / 1.123 GB, free: 12.38 MB / 1.076 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.0004381/0.3835, allocations: 164.4 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.3837, allocations: 75.88 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3837, allocations: 0 / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.3838, allocations: 23.98 kB / 1.123 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3841, allocations: 11.98 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.3846, allocations: 205.3 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.3847, allocations: 85.62 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.3847, allocations: 7.984 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.3848, allocations: 12.5 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.3848, allocations: 0 / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of Templates: time 0.005035/0.3898, allocations: 1.467 MB / 1.125 GB, free: 10.32 MB / 1.076 GB " [Timeout remaining time 300] 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 ida -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/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: 8.904424995998852]