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.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadModel(Buildings): time 4.164/4.164, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.801e-05, allocations: 4.281 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1814, allocations: 98.72 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.3894, allocations: 126.7 MB / 0.7584 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.3897, allocations: 83.94 kB / 0.7585 GB, free: 2.977 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.01735/0.4071, allocations: 3.53 MB / 0.762 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.092e-06/0.4071, allocations: 4 kB / 0.762 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.4071, allocations: 4 kB / 0.762 GB, free: 15.43 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007478/0.4079, allocations: 465.8 kB / 0.7624 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4079, allocations: 11.97 kB / 0.7624 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.408, allocations: 19.86 kB / 0.7625 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4082, allocations: 179.5 kB / 0.7626 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.4082, allocations: 8 kB / 0.7626 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.4083, allocations: 8 kB / 0.7626 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.4085, allocations: 81.64 kB / 0.7627 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.304e-06/0.4086, allocations: 7.875 kB / 0.7627 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.4086, allocations: 4 kB / 0.7627 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-06/0.4086, allocations: 0 / 0.7627 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4087, allocations: 39.98 kB / 0.7628 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.4098, allocations: 376.6 kB / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.41, allocations: 62.5 kB / 0.7632 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.4101, allocations: 40.86 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.4102, allocations: 0 / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.4104, allocations: 91.38 kB / 0.7633 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.353e-06/0.4104, allocations: 0 / 0.7633 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0004537/0.4109, allocations: 153.4 kB / 0.7635 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.411, allocations: 55.56 kB / 0.7635 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.4111, allocations: 124 kB / 0.7636 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.4112, allocations: 33.7 kB / 0.7637 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.4113, allocations: 104.2 kB / 0.7638 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.4113, allocations: 19.81 kB / 0.7638 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.4113, allocations: 4 kB / 0.7638 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4115, allocations: 322.8 kB / 0.7641 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/0.4116, allocations: 24 kB / 0.7641 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4118, allocations: 68.22 kB / 0.7642 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.4119, allocations: 35.98 kB / 0.7642 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-06/0.4119, allocations: 0 / 0.7642 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003483/0.4123, allocations: 133.4 kB / 0.7643 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4123, allocations: 7.938 kB / 0.7644 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.4123, allocations: 4 kB / 0.7644 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4123, allocations: 4.047 kB / 0.7644 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.4126, allocations: 23.92 kB / 0.7644 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.694e-06/0.4126, allocations: 4.094 kB / 0.7644 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.4127, allocations: 20.03 kB / 0.7644 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.4128, allocations: 7.938 kB / 0.7644 GB, free: 12.69 MB / 0.6511 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 (14): * Single equations (assignments): 14 * 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.0001188/0.4129, allocations: 112.9 kB / 0.7645 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.413, allocations: 11.91 kB / 0.7645 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.413, allocations: 12.61 kB / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.413, allocations: 4 kB / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.247e-06/0.413, allocations: 7.953 kB / 0.7646 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.413, allocations: 0 / 0.7646 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.4138, allocations: 434.4 kB / 0.765 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.999e-06/0.4139, allocations: 4 kB / 0.765 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.414, allocations: 11.98 kB / 0.765 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.414, allocations: 4 kB / 0.765 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.414, allocations: 7.953 kB / 0.765 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.71e-06/0.4141, allocations: 0 / 0.765 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4141, allocations: 4 kB / 0.765 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.4145, allocations: 243.3 kB / 0.7652 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.4146, allocations: 85.02 kB / 0.7653 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.4147, allocations: 0 / 0.7653 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.4148, allocations: 19.94 kB / 0.7653 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.4149, allocations: 7.984 kB / 0.7653 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.4149, allocations: 0 / 0.7653 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4151, allocations: 113.5 kB / 0.7654 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.5e-07/0.4151, allocations: 0 / 0.7654 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004886/0.4156, allocations: 63.86 kB / 0.7655 GB, free: 11.47 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: 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 (9): * Single equations (assignments): 5 * 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.0004602/0.4161, allocations: 175.2 kB / 0.7657 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.4164, allocations: 87.92 kB / 0.7658 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.918e-06/0.4164, allocations: 0 / 0.7658 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.4165, allocations: 47.94 kB / 0.7658 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4168, allocations: 11.98 kB / 0.7658 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.4173, allocations: 137.5 kB / 0.7659 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4177, allocations: 0.7045 MB / 0.7666 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.718e-05/0.4178, allocations: 4 kB / 0.7666 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.4179, allocations: 15.42 kB / 0.7667 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.796e-06/0.4179, allocations: 0 / 0.7667 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.007108/0.425, allocations: 1.982 MB / 0.7686 GB, free: 8.273 MB / 0.6511 GB