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.008912/0.008912, allocations: 111.1 kB / 15.06 MB, free: 5.969 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.001109/0.001109, allocations: 181.8 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.822/1.822, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.358/2.358, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004616, allocations: 8 kB / 0.5869 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6158, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.9228, allocations: 126.5 MB / 0.8069 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.9231, allocations: 83.95 kB / 0.8069 GB, free: 15.72 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.01287/0.936, allocations: 2.952 MB / 0.8098 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.948e-06/0.936, allocations: 0 / 0.8098 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.544e-06/0.936, 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.0005999/0.9366, allocations: 412.8 kB / 0.8102 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.9367, allocations: 16.03 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.9368, allocations: 11.86 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.9369, allocations: 174.9 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.937, allocations: 4 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.937, allocations: 4 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.9372, allocations: 69.64 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.608e-06/0.9372, allocations: 0 / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9373, allocations: 0 / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.9373, allocations: 8 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.9375, allocations: 43.97 kB / 0.8105 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.9381, allocations: 323.1 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.9383, allocations: 54.56 kB / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.9384, allocations: 0 / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.9386, allocations: 75.5 kB / 0.811 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.45e-06/0.9386, allocations: 4 kB / 0.811 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000528/0.9392, allocations: 161.5 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.9392, allocations: 51.41 kB / 0.8112 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.9394, allocations: 116.9 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.9394, allocations: 29.7 kB / 0.8113 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.9395, allocations: 96.25 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.9395, allocations: 15.81 kB / 0.8114 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.9395, allocations: 0 / 0.8114 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.9397, allocations: 322.8 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.9398, allocations: 27.98 kB / 0.8118 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.94, allocations: 50.56 kB / 0.8118 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.9401, allocations: 31.98 kB / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-06/0.9402, allocations: 7.875 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003464/0.9405, allocations: 121.5 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9405, allocations: 4 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.9406, allocations: 8 kB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.9406, allocations: 0 / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.9407, allocations: 11.98 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.9407, allocations: 7.953 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.9408, allocations: 4 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.9409, allocations: 8 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.0001312/0.941, allocations: 121.9 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.9411, allocations: 7.906 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.9411, allocations: 12.31 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-06/0.9411, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9411, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-06/0.9411, allocations: 3.953 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/0.9418, allocations: 382.5 kB / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9418, allocations: 0 / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.9419, allocations: 7.984 kB / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.301e-06/0.9419, allocations: 0 / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.9419, allocations: 0 / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.804e-06/0.9419, allocations: 7.953 kB / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.749e-06/0.9419, allocations: 7.875 kB / 0.8125 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.9424, allocations: 219.4 kB / 0.8127 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.9424, allocations: 85 kB / 0.8128 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.9425, allocations: 0 / 0.8128 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.9426, allocations: 4 kB / 0.8128 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.9427, allocations: 19.92 kB / 0.8128 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.9427, allocations: 4 kB / 0.8128 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.636e-05/0.9428, allocations: 95.27 kB / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.78e-07/0.9428, allocations: 0 / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004418/0.9432, allocations: 51.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.0004248/0.9437, allocations: 174.4 kB / 0.8131 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.944, allocations: 75.91 kB / 0.8132 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.989e-06/0.944, allocations: 0 / 0.8132 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.9442, allocations: 47.84 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.0002088/0.9444, allocations: 8.984 kB / 0.8133 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.9449, allocations: 211.2 kB / 0.8135 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.9453, allocations: 0.6887 MB / 0.8141 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.328e-05/0.9454, allocations: 4.188 kB / 0.8142 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.9454, allocations: 15.42 kB / 0.8142 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of SimCode: time 1.356e-06/0.9455, allocations: 4 kB / 0.8142 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of Templates: time 0.005316/0.9508, allocations: 1.517 MB / 0.8157 GB, free: 6.402 MB / 0.6355 GB