Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0106/0.0106, allocations: 221.2 kB / 15.17 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001108/0.001108, allocations: 178.6 kB / 16.06 MB, free: 5.867 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.575/3.575, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.368/4.368, allocations: 472.3 MB / 0.9017 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008271/0.0008275, allocations: 12 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6387, allocations: 98.7 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001532/0.6403, allocations: 1.184 MB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.6415, allocations: 0.698 MB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.6416, allocations: 2.969 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.6416, allocations: 1.688 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.6417, allocations: 13.88 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.6422, allocations: 94.36 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.6423, allocations: 66.23 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.6424, allocations: 8.578 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.6425, allocations: 35.61 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.6425, allocations: 33.52 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.6426, allocations: 5.281 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.6428, allocations: 80.28 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.6428, allocations: 7.625 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.6428, allocations: 41.16 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.643, allocations: 98.67 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.643, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6431, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.732e-06/0.6431, allocations: 3.469 kB / 1.106 GB, free: 211.7 MB / 0.7292 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.000492/0.6436, allocations: 408.5 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.6436, allocations: 8.219 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.6437, allocations: 10.11 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.367e-05/0.6438, allocations: 174.6 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.6438, allocations: 2.625 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.6439, allocations: 15.25 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.6441, allocations: 71.02 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.254e-06/0.6441, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.6442, allocations: 1.312 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-06/0.6442, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.6443, allocations: 49.19 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.645, allocations: 318.5 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.6451, allocations: 61.06 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.6453, allocations: 37.27 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.6453, allocations: 1.312 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.6455, allocations: 76.73 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.648e-06/0.6455, allocations: 2.938 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004865/0.646, allocations: 151.3 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6461, allocations: 62.95 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.6462, allocations: 118.5 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.6462, allocations: 26.83 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.6463, allocations: 96.2 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.6463, allocations: 7.641 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-06/0.6463, allocations: 7.938 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.6464, allocations: 321.1 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.6465, allocations: 28.3 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.6466, allocations: 53.36 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.6468, allocations: 37.16 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.701e-06/0.6468, allocations: 1.625 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003238/0.6471, allocations: 111.6 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6472, allocations: 10.94 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.947e-06/0.6472, allocations: 5.984 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6472, allocations: 5.391 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.6473, allocations: 16.48 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.206e-06/0.6474, allocations: 1.031 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.6475, allocations: 19.19 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.6475, allocations: 3.156 kB / 1.109 GB, free: 209.8 MB / 0.7292 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 8.812e-05/0.6476, allocations: 120.6 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.6476, allocations: 6 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.6477, allocations: 10.59 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-06/0.6477, allocations: 4.984 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.6477, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-06/0.6477, allocations: 2.875 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.6483, allocations: 388.9 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-06/0.6483, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.6483, allocations: 7.875 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.616e-06/0.6484, allocations: 3.953 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.6484, allocations: 3.609 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6484, allocations: 0.9375 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-06/0.6484, allocations: 2.719 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.6488, allocations: 223.5 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.6488, allocations: 82.83 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.6488, allocations: 12.48 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.649, allocations: 7.688 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.649, allocations: 5.578 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.6491, allocations: 4.75 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.6491, allocations: 98.94 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.32e-07/0.6491, allocations: 0 / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004056/0.6495, allocations: 44.06 kB / 1.11 GB, free: 208.9 MB / 0.7292 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.0003632/0.6499, allocations: 162.1 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.6502, allocations: 73.08 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6503, allocations: 0 / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.6504, allocations: 38.84 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.6507, allocations: 12.75 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.6512, allocations: 209.8 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.6514, allocations: 0.6888 MB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.6514, allocations: 10.47 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.6515, allocations: 10.72 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.369e-06/0.6515, allocations: 11.44 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.004981/0.6565, allocations: 1.338 MB / 1.112 GB, free: 207.9 MB / 0.7292 GB