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.009033/0.009033, allocations: 110.5 kB / 15.05 MB, free: 5.965 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.0011/0.0011, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 1.857/1.857, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.259/2.259, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004617, allocations: 15.98 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5428, allocations: 98.7 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.7297, allocations: 126.5 MB / 0.8069 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.73, allocations: 79.89 kB / 0.8069 GB, free: 15.73 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.01508/0.7451, allocations: 2.956 MB / 0.8098 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.131e-06/0.7451, allocations: 0 / 0.8098 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.914e-06/0.7451, allocations: 0 / 0.8098 GB, free: 12.76 MB / 0.6355 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.000829/0.746, allocations: 416.8 kB / 0.8102 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7461, allocations: 8.031 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.7461, allocations: 11.86 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.7464, allocations: 178.9 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.7464, allocations: 8 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.7465, allocations: 4 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.7469, allocations: 65.66 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7469, allocations: 0 / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.7469, allocations: 4 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-06/0.747, allocations: 0 / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.7473, allocations: 47.97 kB / 0.8105 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.7483, allocations: 323.1 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.7486, allocations: 54.55 kB / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.7486, allocations: 4 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.749, allocations: 79.56 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.141e-06/0.749, allocations: 0 / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0008226/0.7499, allocations: 153.4 kB / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.7499, allocations: 55.41 kB / 0.8112 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.7501, allocations: 116.9 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.7502, allocations: 25.7 kB / 0.8113 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.7503, allocations: 100.2 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.7504, allocations: 19.8 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.7504, allocations: 4 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.7506, allocations: 314.8 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.7509, allocations: 31.98 kB / 0.8118 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.7511, allocations: 46.56 kB / 0.8118 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.7514, allocations: 31.98 kB / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.786e-06/0.7514, allocations: 4 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005842/0.752, allocations: 117.5 kB / 0.8119 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.752, allocations: 4 kB / 0.8119 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.301e-06/0.7521, allocations: 4.062 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.7521, allocations: 4 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.7523, allocations: 15.92 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.7523, allocations: 3.953 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.7525, allocations: 12 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.7525, allocations: 3.984 kB / 0.812 GB, free: 10.3 MB / 0.6355 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.0001813/0.7528, allocations: 121.8 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.7528, allocations: 7.906 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.7529, allocations: 12.38 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-06/0.7529, allocations: 0 / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.473e-06/0.7529, allocations: 0 / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.34e-06/0.753, allocations: 3.953 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.754, allocations: 382.5 kB / 0.8125 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-06/0.754, allocations: 4 kB / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.7541, allocations: 7.984 kB / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.7541, allocations: 0 / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.7542, allocations: 4 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.633e-06/0.7542, allocations: 8.359 kB / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.128e-06/0.7542, allocations: 0 / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.7549, allocations: 223.3 kB / 0.8127 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.7551, allocations: 89 kB / 0.8128 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.7551, allocations: 0 / 0.8128 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.7554, allocations: 11.98 kB / 0.8128 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.7554, allocations: 7.953 kB / 0.8128 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.7555, allocations: 0 / 0.8128 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001182/0.7556, allocations: 95.27 kB / 0.8129 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.156e-06/0.7556, allocations: 0 / 0.8129 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007834/0.7564, allocations: 55.92 kB / 0.813 GB, free: 9.184 MB / 0.6355 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.0006517/0.7571, allocations: 174 kB / 0.8131 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.7577, allocations: 83.94 kB / 0.8132 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.12e-06/0.7577, allocations: 0 / 0.8132 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.758, allocations: 39.92 kB / 0.8133 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.7584, allocations: 4.984 kB / 0.8133 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.7592, allocations: 213 kB / 0.8135 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.7595, allocations: 0.6887 MB / 0.8141 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.42e-05/0.7596, allocations: 8.172 kB / 0.8142 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.7597, allocations: 15.38 kB / 0.8142 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of SimCode: time 1.85e-06/0.7597, allocations: 0 / 0.8142 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of Templates: time 0.005274/0.7649, allocations: 1.523 MB / 0.8157 GB, free: 6.402 MB / 0.6355 GB