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.Yun2008WindowsTIn.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadModel(Buildings): time 4.238/4.238, allocations: 433.3 MB / 440.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.995e-05, allocations: 4.297 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 98.72 MB / 0.6289 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.3666, allocations: 126.1 MB / 0.752 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.3669, allocations: 83.94 kB / 0.7521 GB, free: 10.85 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01421/0.3811, allocations: 3.173 MB / 0.7552 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3812, allocations: 4 kB / 0.7552 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.29e-06/0.3812, allocations: 0 / 0.7552 GB, free: 7.664 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006563/0.3819, allocations: 437.7 kB / 0.7556 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3819, allocations: 16.02 kB / 0.7556 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.382, allocations: 15.8 kB / 0.7557 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3821, allocations: 171 kB / 0.7558 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.3822, allocations: 4 kB / 0.7558 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3822, allocations: 8 kB / 0.7558 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001188/0.3824, allocations: 28 kB / 0.7559 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3825, allocations: 77.58 kB / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.592e-06/0.3826, allocations: 0 / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3826, allocations: 0 / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.418e-06/0.3826, allocations: 3.953 kB / 0.7559 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.3835, allocations: 317.3 kB / 0.7562 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3836, allocations: 46.58 kB / 0.7563 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.3837, allocations: 33.41 kB / 0.7563 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3837, allocations: 7.984 kB / 0.7563 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.3839, allocations: 91.31 kB / 0.7564 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/0.384, allocations: 0 / 0.7564 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004061/0.3844, allocations: 113.6 kB / 0.7565 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3844, allocations: 63.39 kB / 0.7566 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3846, allocations: 116.9 kB / 0.7567 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3846, allocations: 25.7 kB / 0.7567 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.3847, allocations: 88.14 kB / 0.7568 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3848, allocations: 23.88 kB / 0.7568 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-06/0.3848, allocations: 0 / 0.7568 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3849, allocations: 322.8 kB / 0.7571 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.385, allocations: 20 kB / 0.7571 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/0.3851, allocations: 48.28 kB / 0.7572 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/0.3852, allocations: 35.92 kB / 0.7572 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-06/0.3852, allocations: 0 / 0.7572 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.3855, allocations: 113.5 kB / 0.7573 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3855, allocations: 4 kB / 0.7573 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.256e-06/0.3856, allocations: 0 / 0.7573 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3856, allocations: 4 kB / 0.7573 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.3858, allocations: 19.92 kB / 0.7574 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3858, allocations: 3.953 kB / 0.7574 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3859, allocations: 15.89 kB / 0.7574 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.3859, allocations: 4 kB / 0.7574 GB, free: 5.203 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001132/0.3861, allocations: 121.6 kB / 0.7575 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3861, allocations: 0 / 0.7575 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.3861, allocations: 8.625 kB / 0.7575 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-06/0.3862, allocations: 0 / 0.7575 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.388e-06/0.3862, allocations: 3.984 kB / 0.7575 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.847e-06/0.3862, allocations: 3.953 kB / 0.7575 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.3868, allocations: 382.9 kB / 0.7579 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-06/0.3869, allocations: 4 kB / 0.7579 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.3869, allocations: 4 kB / 0.7579 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.104e-06/0.387, allocations: 0 / 0.7579 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.387, allocations: 7.984 kB / 0.7579 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-06/0.387, allocations: 0 / 0.7579 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.786e-06/0.387, allocations: 3.953 kB / 0.7579 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.3874, allocations: 223.5 kB / 0.7581 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.3875, allocations: 89 kB / 0.7582 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.3875, allocations: 0 / 0.7582 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3877, allocations: 13.62 kB / 0.7582 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.3878, allocations: 7.984 kB / 0.7582 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.3878, allocations: 7.891 kB / 0.7582 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.073e-05/0.3879, allocations: 100 kB / 0.7583 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.85e-07/0.3879, allocations: 0 / 0.7583 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004628/0.3884, allocations: 55.86 kB / 0.7584 GB, free: 4.105 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004713/0.3889, allocations: 166.9 kB / 0.7585 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3891, allocations: 67.92 kB / 0.7586 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.82e-06/0.3891, allocations: 0 / 0.7586 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3892, allocations: 35.94 kB / 0.7586 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.3895, allocations: 16.17 kB / 0.7586 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.3899, allocations: 116.2 kB / 0.7588 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3903, allocations: 0.6924 MB / 0.7594 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.239e-05/0.3903, allocations: 7.984 kB / 0.7594 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.3904, allocations: 11.44 kB / 0.7594 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of SimCode: time 1.402e-06/0.3904, allocations: 4 kB / 0.7595 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of Templates: time 0.005896/0.3963, allocations: 1.762 MB / 0.7612 GB, free: 1.184 MB / 0.6355 GB