Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 191.7 kB / 325.6 MB, free: 2.824 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.445/2.445, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001851/0.001851, allocations: 94.86 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 15.69 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2133, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/0.438, allocations: 133.5 MB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/0.4384, allocations: 87.94 kB / 1.029 GB, free: 11.66 MB / 0.6823 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.01418/0.4526, allocations: 2.994 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4527, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4527, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 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.0007072/0.4534, allocations: 428.7 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4535, allocations: 8.031 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.4535, allocations: 19.83 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4537, allocations: 163.1 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.4537, allocations: 7.984 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.4538, allocations: 4 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.454, allocations: 73.59 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4541, allocations: 4 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4541, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4541, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.4543, allocations: 47.91 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.4552, allocations: 324.6 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4554, allocations: 54.48 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.4554, allocations: 4 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.4557, allocations: 83.5 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.4557, allocations: 0 / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006249/0.4564, allocations: 145.6 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4564, allocations: 59.34 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4565, allocations: 116.9 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4566, allocations: 29.7 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.4567, allocations: 92.31 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.4567, allocations: 15.81 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.4567, allocations: 0 / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4569, allocations: 318.8 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.457, allocations: 27.98 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.4572, allocations: 54.55 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4574, allocations: 28 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4574, allocations: 4 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004182/0.4578, allocations: 125.5 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4578, allocations: 4 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4579, allocations: 3.938 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.4579, allocations: 4 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.4581, allocations: 15.92 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.4581, allocations: 3.953 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4582, allocations: 8 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4582, allocations: 8.047 kB / 1.034 GB, free: 6.191 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.4584, allocations: 117.8 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.4584, allocations: 7.844 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.4585, allocations: 12.38 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4585, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4585, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4585, allocations: 3.953 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.4592, allocations: 390.5 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4592, allocations: 0 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.4593, allocations: 7.984 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4593, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4594, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.4594, allocations: 3.953 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4594, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.4599, allocations: 225.6 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.4599, allocations: 88.95 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.46, allocations: 4 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.4601, allocations: 7.984 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4602, allocations: 7.953 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4602, allocations: 4 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.688e-05/0.4603, allocations: 95.27 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4603, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004564/0.4608, allocations: 51.92 kB / 1.035 GB, free: 5.086 MB / 0.6823 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 (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.0005213/0.4613, allocations: 175.8 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.4618, allocations: 79.89 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4618, allocations: 0 / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.4619, allocations: 35.98 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.4622, allocations: 4 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.4628, allocations: 219.2 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4631, allocations: 0.6926 MB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.371e-05/0.4632, allocations: 12.17 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.4632, allocations: 7.438 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.4633, allocations: 4 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of Templates: time 0.006179/0.4694, allocations: 1.523 MB / 1.038 GB, free: 2.305 MB / 0.6823 GB