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.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01061/0.01061, allocations: 223 kB / 15.17 MB, free: 5.93 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.001078/0.001078, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.569/3.569, allocations: 389.1 MB / 405.9 MB, free: 13.3 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.343/4.343, allocations: 472.3 MB / 0.9018 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004866, allocations: 12 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6578, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001621/0.6595, allocations: 1.18 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.6607, allocations: 0.7073 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.6608, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.6609, allocations: 3.234 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.6609, allocations: 7.875 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.6614, allocations: 91.73 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.462e-05/0.6615, allocations: 69.66 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.6616, allocations: 9.203 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.779e-05/0.6617, allocations: 37.95 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.6618, allocations: 33.94 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.6618, allocations: 2.031 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.662, allocations: 80.66 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.6621, allocations: 11.41 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.6621, allocations: 38.11 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.6623, allocations: 96.56 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.681e-06/0.6623, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.312e-06/0.6624, allocations: 3.656 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.989e-06/0.6624, allocations: 0 / 1.106 GB, free: 211.5 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.0005154/0.6629, allocations: 410.6 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6629, allocations: 10.66 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.663, allocations: 9.672 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.297e-05/0.6631, allocations: 172.4 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.6631, allocations: 11.83 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.6632, allocations: 3.5 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.6634, allocations: 75.03 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.356e-06/0.6634, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.6634, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.6634, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.6636, allocations: 52.22 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.6642, allocations: 320.2 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.6644, allocations: 51.03 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.6645, allocations: 33.69 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.6645, allocations: 8.25 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.6648, allocations: 82.58 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.591e-06/0.6648, allocations: 0 / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004983/0.6653, allocations: 153 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6653, allocations: 56.81 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.6654, allocations: 123.3 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.6655, allocations: 27.08 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.6655, allocations: 93.11 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.6656, allocations: 14.59 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-06/0.6656, allocations: 5.656 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.6656, allocations: 322.1 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.6658, allocations: 30.75 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.6659, allocations: 53.55 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.666, allocations: 31.75 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-06/0.6661, allocations: 3.25 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003345/0.6664, allocations: 119.1 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6664, allocations: 9.156 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.734e-06/0.6664, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.6665, allocations: 5.391 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.6666, allocations: 17.78 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.6666, allocations: 1.438 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.6667, allocations: 20.31 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.6668, allocations: 4.031 kB / 1.109 GB, free: 209.6 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.634e-05/0.6669, allocations: 120.8 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.6669, allocations: 9.531 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.6669, allocations: 9.688 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-06/0.6669, allocations: 7.453 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-06/0.667, allocations: 1.375 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.959e-06/0.667, allocations: 3.656 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.6675, allocations: 380.1 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-06/0.6675, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.6676, allocations: 10.58 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-06/0.6676, allocations: 3.953 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.6676, allocations: 2.281 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-06/0.6677, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-06/0.6677, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.668, allocations: 219.4 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.6681, allocations: 81.03 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.6681, allocations: 8.703 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.6682, allocations: 13.94 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.6683, allocations: 12.16 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.6683, allocations: 3.172 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.6684, allocations: 91.27 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.27e-07/0.6684, allocations: 0 / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004192/0.6688, allocations: 46.23 kB / 1.11 GB, free: 208.7 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.0003826/0.6692, allocations: 165.5 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.6696, allocations: 85.98 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.6696, allocations: 0 / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.6697, allocations: 35.86 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.6701, allocations: 9.844 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.6706, allocations: 208.9 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.6707, allocations: 0.694 MB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.167e-05/0.6708, allocations: 5.016 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.6708, allocations: 12.22 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.505e-06/0.6708, allocations: 5.625 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.005063/0.6759, allocations: 1.344 MB / 1.112 GB, free: 207.7 MB / 0.7292 GB