Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.278/4.278, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.674e-05, allocations: 4.281 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1748, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.3679, allocations: 126.4 MB / 0.7582 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.3682, allocations: 83.95 kB / 0.7583 GB, free: 3.242 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01311/0.3813, allocations: 2.925 MB / 0.7611 GB, free: 320 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.503e-06/0.3814, allocations: 0 / 0.7611 GB, free: 320 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.262e-06/0.3814, allocations: 0 / 0.7611 GB, free: 320 kB / 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.0006258/0.382, allocations: 420 kB / 0.7615 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3821, allocations: 8.031 kB / 0.7615 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.3821, allocations: 11.86 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.3823, allocations: 174.9 kB / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.3824, allocations: 4 kB / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.3824, allocations: 7.984 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3826, allocations: 61.67 kB / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.06e-06/0.3826, allocations: 0 / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3826, allocations: 0 / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-06/0.3826, allocations: 4 kB / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/0.3827, allocations: 24 kB / 0.7618 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.3835, allocations: 316.7 kB / 0.7621 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3836, allocations: 46.56 kB / 0.7621 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.3837, allocations: 28.97 kB / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3837, allocations: 0 / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3839, allocations: 71.39 kB / 0.7622 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 7.754e-06/0.3839, allocations: 0 / 0.7622 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002928/0.3842, allocations: 105.4 kB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3843, allocations: 55.41 kB / 0.7624 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3844, allocations: 116.9 kB / 0.7625 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3845, allocations: 29.7 kB / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.3845, allocations: 88.41 kB / 0.7626 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3846, allocations: 23.72 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.3846, allocations: 4 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3848, allocations: 318.8 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.3849, allocations: 19.98 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.3849, allocations: 43.44 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.385, allocations: 31.92 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-06/0.3851, allocations: 0 / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.3853, allocations: 101.5 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3853, allocations: 4 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.633e-06/0.3854, allocations: 0 / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3854, allocations: 4 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3855, allocations: 12.05 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3856, allocations: 11.89 kB / 0.7632 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3857, allocations: 12 kB / 0.7632 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3857, allocations: 7.984 kB / 0.7632 GB, free: 13.95 MB / 0.6511 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 () * 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 9.864e-05/0.3858, allocations: 105 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.3859, allocations: 7.906 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.3859, allocations: 12.62 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3859, allocations: 0 / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.411e-06/0.3859, allocations: 4 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-06/0.386, allocations: 3.953 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.3865, allocations: 366.4 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-06/0.3865, allocations: 3.938 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.3866, allocations: 11.98 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.873e-06/0.3866, allocations: 0 / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3866, allocations: 64 / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.988e-06/0.3867, allocations: 7.953 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-06/0.3867, allocations: 0 / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.387, allocations: 191.7 kB / 0.7639 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.3871, allocations: 85 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3871, allocations: 7.938 kB / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3872, allocations: 4 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3873, allocations: 11.94 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3873, allocations: 4 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.3874, allocations: 99.27 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.91e-07/0.3874, allocations: 0 / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004439/0.3879, allocations: 51.88 kB / 0.7641 GB, free: 12.89 MB / 0.6511 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 () * 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.0004362/0.3883, allocations: 163.9 kB / 0.7643 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3885, allocations: 59.98 kB / 0.7643 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-06/0.3886, allocations: 4.062 kB / 0.7643 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.3887, allocations: 28 kB / 0.7644 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3889, allocations: 15.92 kB / 0.7644 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.3893, allocations: 111.9 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3897, allocations: 0.6926 MB / 0.7652 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.372e-05/0.3897, allocations: 8.188 kB / 0.7652 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.3898, allocations: 7.438 kB / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of SimCode: time 1.398e-06/0.3898, allocations: 0 / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.005323/0.3951, allocations: 1.537 MB / 0.7667 GB, free: 10.23 MB / 0.6511 GB