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/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.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.308/4.308, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.854e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.5795, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2666/0.8462, allocations: 125.8 MB / 0.7517 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.8466, allocations: 79.95 kB / 0.7518 GB, free: 1.715 MB / 0.6198 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.01278/0.8594, allocations: 2.914 MB / 0.7547 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.581e-06/0.8594, allocations: 0 / 0.7547 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.8594, allocations: 0 / 0.7547 GB, free: 14.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006527/0.8601, allocations: 416 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8602, allocations: 8.031 kB / 0.7551 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.8602, allocations: 7.953 kB / 0.7551 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.8604, allocations: 178.8 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.8604, allocations: 8 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.8605, allocations: 4 kB / 0.7552 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001071/0.8606, allocations: 20 kB / 0.7553 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.8607, allocations: 53.67 kB / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.506e-06/0.8607, allocations: 0 / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.8608, allocations: 3.984 kB / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-06/0.8608, allocations: 0 / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.8615, allocations: 293.3 kB / 0.7556 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.8616, allocations: 38.56 kB / 0.7556 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.8617, allocations: 24.98 kB / 0.7557 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.8617, allocations: 3.984 kB / 0.7557 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.8619, allocations: 73.53 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.482e-06/0.8619, allocations: 0 / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003569/0.8623, allocations: 105.5 kB / 0.7558 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.8623, allocations: 51.41 kB / 0.7559 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.8625, allocations: 113.2 kB / 0.756 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.8625, allocations: 29.7 kB / 0.756 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.8626, allocations: 88.23 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.8626, allocations: 15.89 kB / 0.7561 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-06/0.8626, allocations: 0 / 0.7561 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8628, allocations: 322.8 kB / 0.7564 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.8629, allocations: 15.98 kB / 0.7564 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.863, allocations: 43.48 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.8631, allocations: 23.98 kB / 0.7565 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-06/0.8631, allocations: 0 / 0.7565 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002501/0.8634, allocations: 93.52 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8634, allocations: 8 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.368e-06/0.8634, allocations: 0 / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8634, allocations: 0 / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.8636, allocations: 23.92 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.382e-06/0.8636, allocations: 0 / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.8637, allocations: 15.8 kB / 0.7566 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.8638, allocations: 7.984 kB / 0.7567 GB, free: 12.53 MB / 0.6355 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 0.0001141/0.8639, allocations: 113 kB / 0.7568 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.8639, allocations: 4 kB / 0.7568 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.864, allocations: 12.56 kB / 0.7568 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-06/0.864, allocations: 0 / 0.7568 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.834e-06/0.864, allocations: 4 kB / 0.7568 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.083e-06/0.864, allocations: 0 / 0.7568 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.8646, allocations: 343 kB / 0.7571 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.778e-06/0.8646, allocations: 4 kB / 0.7571 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.8647, allocations: 8 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.696e-06/0.8647, allocations: 0 / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.8647, allocations: 3.984 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.409e-06/0.8647, allocations: 7.938 kB / 0.7571 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.913e-06/0.8647, allocations: 0 / 0.7571 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.865, allocations: 191.6 kB / 0.7573 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.8651, allocations: 81.02 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.8651, allocations: 4 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.8653, allocations: 11.98 kB / 0.7574 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.8653, allocations: 0 / 0.7574 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.8654, allocations: 11.98 kB / 0.7574 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.77e-05/0.8655, allocations: 91.23 kB / 0.7575 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.41e-07/0.8655, allocations: 0 / 0.7575 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004638/0.8659, allocations: 43.98 kB / 0.7575 GB, free: 11.53 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 () * 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.0004666/0.8664, allocations: 178.6 kB / 0.7577 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.8666, allocations: 55.91 kB / 0.7578 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8667, allocations: 0 / 0.7578 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.8667, allocations: 27.94 kB / 0.7578 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.867, allocations: 8 kB / 0.7578 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.8674, allocations: 100.6 kB / 0.7579 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.8677, allocations: 0.6963 MB / 0.7586 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.128e-05/0.8678, allocations: 8.172 kB / 0.7586 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.8679, allocations: 15.38 kB / 0.7586 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of SimCode: time 1.527e-06/0.8679, allocations: 0 / 0.7586 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.005295/0.8732, allocations: 1.5 MB / 0.7601 GB, free: 8.898 MB / 0.6355 GB