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.01538/0.01538, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001865/0.001864, allocations: 180.2 kB / 15.95 MB, free: 5.523 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 2.023/2.023, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.359/2.359, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 12 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5621, allocations: 98.72 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001482/0.5636, allocations: 1.158 MB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.5649, allocations: 0.7133 MB / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.565, allocations: 0 / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.5651, allocations: 1.875 kB / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.5652, allocations: 14.5 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.5657, allocations: 88.03 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.5658, allocations: 42.83 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.5659, allocations: 15.06 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.566, allocations: 38.11 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.5661, allocations: 32.12 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.5661, allocations: 3.531 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.5663, allocations: 61.8 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.5663, allocations: 19.02 kB / 0.6855 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.5664, allocations: 34.84 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.5666, allocations: 94.69 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.5666, allocations: 0 / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.001e-06/0.5666, allocations: 0.9375 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.205e-06/0.5666, allocations: 0 / 0.6856 GB, free: 15.29 MB / 0.5261 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.0005109/0.5671, allocations: 412.7 kB / 0.686 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.5672, allocations: 13.69 kB / 0.686 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.5672, allocations: 11.45 kB / 0.686 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.717e-05/0.5673, allocations: 176.7 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.5674, allocations: 2.812 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.5674, allocations: 7.594 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.5676, allocations: 70.58 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.405e-06/0.5676, allocations: 0.9688 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5677, allocations: 0.7031 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-06/0.5677, allocations: 1.031 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.5679, allocations: 50.05 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.5685, allocations: 314.7 kB / 0.6866 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.5686, allocations: 48.58 kB / 0.6867 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.5687, allocations: 0.5625 kB / 0.6867 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.5689, allocations: 91.84 kB / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 4.407e-06/0.569, allocations: 5.109 kB / 0.6867 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004964/0.5695, allocations: 144.6 kB / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.5695, allocations: 62.11 kB / 0.6869 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.5696, allocations: 119 kB / 0.6871 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5696, allocations: 26.95 kB / 0.6871 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.5697, allocations: 92.31 kB / 0.6872 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.5697, allocations: 15.97 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.5697, allocations: 4 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.5698, allocations: 316 kB / 0.6875 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.5699, allocations: 37.08 kB / 0.6875 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.5701, allocations: 53.45 kB / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.5702, allocations: 34.02 kB / 0.6876 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.677e-06/0.5702, allocations: 0 / 0.6876 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003282/0.5706, allocations: 122 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5706, allocations: 5.812 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5706, allocations: 1.312 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5706, allocations: 5.234 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.5708, allocations: 13.23 kB / 0.6878 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.687e-06/0.5708, allocations: 0 / 0.6878 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.5709, allocations: 23.34 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5709, allocations: 3.625 kB / 0.6878 GB, free: 13.36 MB / 0.5261 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 9.001e-05/0.571, allocations: 119.2 kB / 0.6879 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.5711, allocations: 7.672 kB / 0.6879 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.5711, allocations: 11.47 kB / 0.6879 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.677e-06/0.5711, allocations: 2.141 kB / 0.6879 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.714e-06/0.5711, allocations: 3.953 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.282e-06/0.5711, allocations: 4.75 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.5717, allocations: 374.8 kB / 0.6883 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-06/0.5717, allocations: 9.453 kB / 0.6883 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.5718, allocations: 5.656 kB / 0.6883 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5718, allocations: 1.688 kB / 0.6883 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5718, allocations: 9.609 kB / 0.6883 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.951e-06/0.5718, allocations: 4.703 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.821e-06/0.5718, allocations: 1.531 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.5722, allocations: 212 kB / 0.6885 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.5722, allocations: 87.64 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.5723, allocations: 2.219 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5724, allocations: 17.81 kB / 0.6886 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.5725, allocations: 5.031 kB / 0.6886 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.5725, allocations: 3.203 kB / 0.6886 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.5726, allocations: 95.36 kB / 0.6887 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.69e-07/0.5726, allocations: 1.219 kB / 0.6887 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004267/0.573, allocations: 41.98 kB / 0.6888 GB, free: 12.5 MB / 0.5261 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.0003676/0.5734, allocations: 170.4 kB / 0.6889 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.5737, allocations: 74.08 kB / 0.689 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.323e-06/0.5737, allocations: 1.188 kB / 0.689 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.5739, allocations: 42.25 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.5741, allocations: 6.859 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.5745, allocations: 206.6 kB / 0.6892 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.5747, allocations: 0.6944 MB / 0.6899 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.14e-05/0.5748, allocations: 9.969 kB / 0.6899 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.5748, allocations: 15.2 kB / 0.6899 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.324e-06/0.5748, allocations: 0 / 0.6899 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.007128/0.5819, allocations: 1.331 MB / 0.6912 GB, free: 11.35 MB / 0.5261 GB