Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 253.2 MB / 260.6 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 185.4 kB / 319.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.5 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 98.56 kB / 0.6751 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.053e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9073/1.109, allocations: 133.7 MB / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.11, allocations: 80.08 kB / 1.019 GB, free: 3.531 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01407/1.124, allocations: 2.967 MB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.124, allocations: 0 / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.124, allocations: 0 / 1.022 GB, free: 1.02 MB / 0.6355 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.0006516/1.125, allocations: 414.6 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.125, allocations: 8.031 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/1.125, allocations: 15.86 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/1.125, allocations: 174.9 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/1.125, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/1.125, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/1.125, allocations: 18.81 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/1.125, allocations: 63.34 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.125, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/1.125, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.125, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/1.126, allocations: 294 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/1.126, allocations: 41.75 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/1.126, allocations: 24.36 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/1.126, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/1.126, allocations: 78.06 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.126, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003403/1.127, allocations: 93.7 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/1.127, allocations: 59.36 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.127, allocations: 117.4 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/1.127, allocations: 30.02 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/1.127, allocations: 87.89 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/1.127, allocations: 22.86 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/1.127, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.127, allocations: 318.4 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/1.127, allocations: 15.62 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/1.128, allocations: 41.75 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.297e-05/1.128, allocations: 19.67 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.128, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002465/1.128, allocations: 88.16 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.128, allocations: 11.94 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.128, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.128, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/1.128, allocations: 17.8 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.128, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/1.128, allocations: 11.94 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/1.128, allocations: 7.688 kB / 1.024 GB, free: 14.9 MB / 0.6511 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.128, allocations: 113 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/1.128, allocations: 3.906 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/1.128, allocations: 12.12 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.128, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.129, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.129, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/1.129, allocations: 343.9 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.129, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/1.129, allocations: 7.938 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/1.129, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/1.129, allocations: 3.984 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.129, allocations: 0.5 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.129, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/1.13, allocations: 197.3 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/1.13, allocations: 81.02 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/1.13, allocations: 11.98 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/1.13, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/1.13, allocations: 11.61 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.13, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.802e-05/1.13, allocations: 99.38 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.13, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004695/1.13, allocations: 51.38 kB / 1.025 GB, free: 13.95 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004598/1.131, allocations: 159.1 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001897/1.131, allocations: 54.28 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.131, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/1.131, allocations: 30.69 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/1.131, allocations: 128 / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/1.132, allocations: 98.97 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/1.132, allocations: 0.6885 MB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.782e-05/1.132, allocations: 8.172 kB / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/1.132, allocations: 11.44 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.132, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.00581/1.138, allocations: 1.51 MB / 1.028 GB, free: 11.39 MB / 0.6511 GB