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.004331/0.004335, allocations: 229.1 kB / 15.82 MB, free: 6.293 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.001137/0.001137, allocations: 174.5 kB / 16.7 MB, free: 5.449 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.844/3.844, allocations: 389.1 MB / 406.5 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.375/4.375, allocations: 472.3 MB / 0.9024 GB, free: 183.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005042, allocations: 16 kB / 1.008 GB, free: 81.13 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6662, allocations: 98.69 MB / 1.105 GB, free: 34.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.8888, allocations: 126.5 MB / 1.228 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/0.8893, allocations: 95.88 kB / 1.228 GB, free: 1.805 MB / 0.6198 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.01404/0.9033, allocations: 2.946 MB / 1.231 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9034, allocations: 0 / 1.231 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.9034, allocations: 0.8125 kB / 1.231 GB, free: 14.89 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.0006941/0.9041, allocations: 422 kB / 1.232 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9041, allocations: 12.78 kB / 1.232 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.9042, allocations: 11.86 kB / 1.232 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.9043, allocations: 175.4 kB / 1.232 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.9044, allocations: 0.8438 kB / 1.232 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.9044, allocations: 4 kB / 1.232 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.9047, allocations: 74.03 kB / 1.232 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9047, allocations: 0.6562 kB / 1.232 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.9047, allocations: 5.906 kB / 1.232 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.9048, allocations: 3.984 kB / 1.232 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.905, allocations: 36.48 kB / 1.232 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.9058, allocations: 323.1 kB / 1.232 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.906, allocations: 53.44 kB / 1.232 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.9062, allocations: 34.44 kB / 1.232 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.9062, allocations: 0 / 1.232 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.9065, allocations: 83.75 kB / 1.232 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.9065, allocations: 0 / 1.232 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006445/0.9072, allocations: 156.5 kB / 1.232 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.9072, allocations: 55.41 kB / 1.233 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.9074, allocations: 128.2 kB / 1.233 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.9074, allocations: 29.7 kB / 1.233 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.9075, allocations: 89.05 kB / 1.233 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.9075, allocations: 19.8 kB / 1.233 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.9075, allocations: 2.656 kB / 1.233 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9077, allocations: 318.8 kB / 1.233 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.9078, allocations: 31.97 kB / 1.233 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.908, allocations: 48.25 kB / 1.233 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.9081, allocations: 33.05 kB / 1.233 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.9082, allocations: 0 / 1.233 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004041/0.9086, allocations: 125.6 kB / 1.233 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.9086, allocations: 7.938 kB / 1.233 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.9086, allocations: 4 kB / 1.233 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.9087, allocations: 6.766 kB / 1.233 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.9088, allocations: 11.98 kB / 1.233 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.9088, allocations: 4 kB / 1.233 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.909, allocations: 4 kB / 1.233 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.909, allocations: 8 kB / 1.233 GB, free: 12.42 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.0001224/0.9091, allocations: 118.9 kB / 1.233 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.9092, allocations: 11.59 kB / 1.233 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.9092, allocations: 12.56 kB / 1.233 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.9092, allocations: 0 / 1.233 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9092, allocations: 7.891 kB / 1.233 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.9093, allocations: 0 / 1.233 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.9099, allocations: 381.1 kB / 1.234 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.91, allocations: 0 / 1.234 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.91, allocations: 5.344 kB / 1.234 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.9101, allocations: 3.984 kB / 1.234 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.9101, allocations: 3.953 kB / 1.234 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9101, allocations: 9.094 kB / 1.234 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9101, allocations: 1.438 kB / 1.234 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.9106, allocations: 219 kB / 1.234 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.9106, allocations: 85 kB / 1.234 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.9107, allocations: 1.438 kB / 1.234 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.9108, allocations: 7.953 kB / 1.234 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.9109, allocations: 12.55 kB / 1.234 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.9109, allocations: 4 kB / 1.234 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.218e-05/0.911, allocations: 95.09 kB / 1.234 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/0.911, allocations: 0 / 1.234 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004711/0.9115, allocations: 51.92 kB / 1.234 GB, free: 11.33 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.0004605/0.912, allocations: 178.6 kB / 1.234 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.9124, allocations: 72.94 kB / 1.235 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9124, allocations: 128 / 1.235 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.9126, allocations: 49.31 kB / 1.235 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.9129, allocations: 11.98 kB / 1.235 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.9135, allocations: 214.6 kB / 1.235 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.9138, allocations: 0.6887 MB / 1.235 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.446e-05/0.9138, allocations: 4.891 kB / 1.236 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.9139, allocations: 15.42 kB / 1.236 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.9139, allocations: 0 / 1.236 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.006195/0.9201, allocations: 1.522 MB / 1.237 GB, free: 8.598 MB / 0.6355 GB