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.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004239/0.004243, allocations: 232.3 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.001174/0.001174, allocations: 173.3 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.913/3.913, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.07/4.07, allocations: 472.3 MB / 0.9024 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006457/0.0006461, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1929, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7857/0.9786, allocations: 126.5 MB / 1.228 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.979, allocations: 87.44 kB / 1.228 GB, free: 27.01 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.01383/0.9929, allocations: 2.942 MB / 1.231 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.025e-06/0.9929, allocations: 0.6094 kB / 1.231 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.9929, allocations: 2.219 kB / 1.231 GB, free: 25.31 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.0006228/0.9936, allocations: 421.8 kB / 1.232 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.9936, allocations: 12.55 kB / 1.232 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.9937, allocations: 7.031 kB / 1.232 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.9938, allocations: 176.1 kB / 1.232 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.9938, allocations: 7.109 kB / 1.232 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.9939, allocations: 4 kB / 1.232 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.9941, allocations: 66.59 kB / 1.232 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9941, allocations: 0.7031 kB / 1.232 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.9942, allocations: 6.5 kB / 1.232 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9942, allocations: 4 kB / 1.232 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.9944, allocations: 38 kB / 1.232 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.9952, allocations: 321.4 kB / 1.232 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.9954, allocations: 49.39 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.9956, allocations: 38.86 kB / 1.232 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.9956, allocations: 5.312 kB / 1.232 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.9958, allocations: 78.72 kB / 1.232 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.9959, allocations: 0 / 1.232 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005737/0.9964, allocations: 157.6 kB / 1.232 GB, free: 24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.9965, allocations: 55.41 kB / 1.233 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.9966, allocations: 123.2 kB / 1.233 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.9967, allocations: 31.95 kB / 1.233 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.9967, allocations: 92.98 kB / 1.233 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.9968, allocations: 16.94 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.9968, allocations: 0 / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9969, allocations: 321.2 kB / 1.233 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.9971, allocations: 29.08 kB / 1.233 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.9972, allocations: 55.88 kB / 1.233 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.9974, allocations: 38.39 kB / 1.233 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9974, allocations: 2.578 kB / 1.233 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003887/0.9978, allocations: 126.4 kB / 1.233 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9979, allocations: 4 kB / 1.233 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9979, allocations: 2.469 kB / 1.233 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.9979, allocations: 5.688 kB / 1.233 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.9981, allocations: 15.47 kB / 1.233 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.9981, allocations: 4.594 kB / 1.233 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.9982, allocations: 9.172 kB / 1.233 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.9982, allocations: 8.5 kB / 1.233 GB, free: 23.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001273/0.9984, allocations: 118.2 kB / 1.233 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.9984, allocations: 8.562 kB / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.9985, allocations: 11.53 kB / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9985, allocations: 0 / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9985, allocations: 3.953 kB / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9985, allocations: 0.5156 kB / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.9992, allocations: 383.1 kB / 1.234 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9992, allocations: 0 / 1.234 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.9993, allocations: 6.156 kB / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9993, allocations: 0 / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.9993, allocations: 7.844 kB / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9993, allocations: 7.938 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9993, allocations: 0 / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/1, allocations: 220.3 kB / 1.234 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/1, allocations: 90.03 kB / 1.234 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/1, allocations: 0.6094 kB / 1.234 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/1, allocations: 10.3 kB / 1.234 GB, free: 38.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/1.001, allocations: 6.297 kB / 1.234 GB, free: 38.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/1.001, allocations: 4.797 kB / 1.234 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.934e-05/1.001, allocations: 98.14 kB / 1.234 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/1.001, allocations: 0 / 1.234 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004748/1.001, allocations: 49.3 kB / 1.234 GB, free: 38.21 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.00046/1.002, allocations: 188.9 kB / 1.235 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003666/1.002, allocations: 73.3 kB / 1.235 GB, free: 38.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.002, allocations: 0 / 1.235 GB, free: 38.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/1.002, allocations: 42.7 kB / 1.235 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/1.003, allocations: 10.03 kB / 1.235 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/1.003, allocations: 204.2 kB / 1.235 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.003, allocations: 0.6895 MB / 1.236 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.073e-05/1.003, allocations: 5.406 kB / 1.236 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/1.003, allocations: 12.23 kB / 1.236 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/1.003, allocations: 0 / 1.236 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.005891/1.009, allocations: 1.524 MB / 1.237 GB, free: 36.32 MB / 0.6355 GB