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.47/2.47, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001486/0.001485, allocations: 180.3 kB / 325.6 MB, free: 2.84 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.552/2.552, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001163/0.001163, allocations: 93.73 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004564, allocations: 12.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.4316, allocations: 133.5 MB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.432, allocations: 87.94 kB / 1.029 GB, free: 12.18 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.01413/0.4462, allocations: 2.99 MB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4462, allocations: 0 / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4462, allocations: 0 / 1.032 GB, free: 9.18 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.000716/0.4469, allocations: 436.7 kB / 1.033 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.447, allocations: 8.031 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.4471, allocations: 15.86 kB / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4472, allocations: 163.1 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4472, allocations: 4 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.4473, allocations: 4 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.4476, allocations: 69.66 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4476, allocations: 0 / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.4476, allocations: 7.984 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.4476, allocations: 3.938 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.4479, allocations: 43.92 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.4487, allocations: 332.6 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4489, allocations: 46.56 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4489, allocations: 0 / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.4492, allocations: 91.44 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.4492, allocations: 3.938 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006195/0.4498, allocations: 141.5 kB / 1.034 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4499, allocations: 55.41 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.45, allocations: 117 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4501, allocations: 29.7 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.4502, allocations: 92.39 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.4502, allocations: 15.81 kB / 1.034 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.4502, allocations: 0 / 1.034 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4504, allocations: 318.8 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.4505, allocations: 27.92 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.4507, allocations: 54.98 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.4509, allocations: 35.98 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4509, allocations: 0 / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003974/0.4513, allocations: 117.5 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4513, allocations: 4 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4513, allocations: 0 / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4514, allocations: 3.984 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.4515, allocations: 19.98 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4515, allocations: 3.953 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.4517, allocations: 7.984 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.4517, allocations: 4 kB / 1.034 GB, free: 6.715 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.0001135/0.4518, allocations: 121.8 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.4518, allocations: 11.84 kB / 1.035 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.4519, allocations: 12.38 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4519, allocations: 3.984 kB / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4519, allocations: 0 / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4519, allocations: 3.953 kB / 1.035 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.4526, allocations: 386.9 kB / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.4526, allocations: 4 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.4527, allocations: 4 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4527, allocations: 0 / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4527, allocations: 0 / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4528, allocations: 3.953 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4528, allocations: 3.984 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.4532, allocations: 219.5 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.4533, allocations: 89.02 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4533, allocations: 0 / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.4535, allocations: 7.984 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.4535, allocations: 11.95 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.4536, allocations: 11.92 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.979e-05/0.4536, allocations: 95.42 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4537, allocations: 0 / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004443/0.4541, allocations: 59.81 kB / 1.035 GB, free: 5.586 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.0004694/0.4546, allocations: 156.9 kB / 1.036 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.455, allocations: 83.89 kB / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.455, allocations: 0 / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4552, allocations: 35.98 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.4554, allocations: 6 kB / 1.036 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.456, allocations: 215.2 kB / 1.036 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4563, allocations: 0.6965 MB / 1.037 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.823e-05/0.4563, allocations: 4.188 kB / 1.037 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.4564, allocations: 11.44 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.4564, allocations: 0 / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.005829/0.4622, allocations: 1.524 MB / 1.038 GB, free: 2.82 MB / 0.6823 GB