Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004292/0.004297, allocations: 232.6 kB / 15.82 MB, free: 6.297 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.00118/0.00118, allocations: 175.2 kB / 16.7 MB, free: 5.457 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.818/3.818, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.047/4.047, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.0005192, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2185, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7789/0.9974, allocations: 126.5 MB / 1.228 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.9978, allocations: 83.86 kB / 1.228 GB, free: 26.95 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.01338/1.011, allocations: 2.951 MB / 1.231 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/1.011, allocations: 0 / 1.231 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.011, allocations: 0 / 1.231 GB, free: 25.25 MB / 0.6198 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.0006476/1.012, allocations: 423.6 kB / 1.232 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.012, allocations: 8.734 kB / 1.232 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/1.012, allocations: 9.641 kB / 1.232 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/1.012, allocations: 175.8 kB / 1.232 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/1.012, allocations: 4.703 kB / 1.232 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/1.012, allocations: 7.375 kB / 1.232 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/1.012, allocations: 69.17 kB / 1.232 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.012, allocations: 2.875 kB / 1.232 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/1.013, allocations: 0.6562 kB / 1.232 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.013, allocations: 7.125 kB / 1.232 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/1.013, allocations: 37.5 kB / 1.232 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/1.014, allocations: 321.8 kB / 1.232 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/1.014, allocations: 54.7 kB / 1.232 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/1.014, allocations: 35.03 kB / 1.232 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/1.014, allocations: 4 kB / 1.232 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/1.014, allocations: 77.62 kB / 1.232 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.935e-06/1.014, allocations: 3.938 kB / 1.232 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005693/1.015, allocations: 156 kB / 1.232 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/1.015, allocations: 58.44 kB / 1.233 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/1.015, allocations: 122.4 kB / 1.233 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.015, allocations: 27.11 kB / 1.233 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/1.015, allocations: 93.06 kB / 1.233 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/1.015, allocations: 17.05 kB / 1.233 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/1.015, allocations: 3.5 kB / 1.233 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.015, allocations: 322.3 kB / 1.233 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/1.015, allocations: 24.94 kB / 1.233 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/1.016, allocations: 54.91 kB / 1.233 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/1.016, allocations: 35.23 kB / 1.233 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.016, allocations: 2.438 kB / 1.233 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003613/1.016, allocations: 116.9 kB / 1.233 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.016, allocations: 8 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.016, allocations: 4.016 kB / 1.233 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.016, allocations: 3.938 kB / 1.233 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/1.016, allocations: 19.47 kB / 1.233 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.016, allocations: 0 / 1.233 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.017, allocations: 5.219 kB / 1.233 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/1.017, allocations: 4.703 kB / 1.233 GB, free: 23.1 MB / 0.6198 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.0001183/1.017, allocations: 120.7 kB / 1.233 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/1.017, allocations: 7.906 kB / 1.233 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/1.017, allocations: 8.188 kB / 1.233 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.017, allocations: 4 kB / 1.233 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.017, allocations: 4.609 kB / 1.233 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.017, allocations: 0 / 1.233 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/1.017, allocations: 388.9 kB / 1.234 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.017, allocations: 0 / 1.234 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/1.018, allocations: 6.062 kB / 1.234 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.018, allocations: 4 kB / 1.234 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/1.018, allocations: 5.031 kB / 1.234 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.018, allocations: 2.531 kB / 1.234 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.018, allocations: 0.6562 kB / 1.234 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/1.018, allocations: 220.1 kB / 1.234 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/1.019, allocations: 85.39 kB / 1.234 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/1.019, allocations: 4.797 kB / 1.234 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.019, allocations: 13.16 kB / 1.234 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/1.019, allocations: 5.766 kB / 1.234 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/1.019, allocations: 5.031 kB / 1.234 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.522e-05/1.019, allocations: 95.56 kB / 1.234 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.019, allocations: 0 / 1.234 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004804/1.019, allocations: 54.47 kB / 1.234 GB, free: 38.15 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.000479/1.02, allocations: 174.6 kB / 1.235 GB, free: 38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000374/1.02, allocations: 82 kB / 1.235 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.02, allocations: 0 / 1.235 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/1.02, allocations: 34.78 kB / 1.235 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/1.021, allocations: 14.78 kB / 1.235 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/1.021, allocations: 198 kB / 1.235 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.022, allocations: 0.6965 MB / 1.236 GB, free: 37.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.195e-05/1.022, allocations: 6.703 kB / 1.236 GB, free: 37.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/1.022, allocations: 12.19 kB / 1.236 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/1.022, allocations: 0 / 1.236 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.005865/1.028, allocations: 1.518 MB / 1.237 GB, free: 36.27 MB / 0.6355 GB