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/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.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 3.768/3.768, allocations: 433.4 MB / 440.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.083e-05, allocations: 3.25 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 98.73 MB / 0.6289 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.3621, allocations: 126 MB / 0.752 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3624, allocations: 83.94 kB / 0.7521 GB, free: 10.9 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.01604/0.3785, allocations: 3.509 MB / 0.7555 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.842e-06/0.3785, allocations: 0 / 0.7555 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3785, allocations: 4 kB / 0.7555 GB, free: 7.367 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007361/0.3793, allocations: 473.9 kB / 0.756 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3793, allocations: 12.02 kB / 0.756 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.3794, allocations: 15.86 kB / 0.756 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3796, allocations: 171.5 kB / 0.7562 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3796, allocations: 4 kB / 0.7562 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.3797, allocations: 7.984 kB / 0.7562 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001513/0.3798, allocations: 43.98 kB / 0.7562 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.38, allocations: 81.58 kB / 0.7563 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.77e-06/0.38, allocations: 4 kB / 0.7563 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3801, allocations: 0 / 0.7563 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.469e-06/0.3801, allocations: 3.953 kB / 0.7563 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009827/0.3811, allocations: 345.2 kB / 0.7566 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3812, allocations: 54.56 kB / 0.7567 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3814, allocations: 41.47 kB / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3814, allocations: 0 / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.3816, allocations: 91.31 kB / 0.7568 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.594e-06/0.3816, allocations: 0 / 0.7568 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004605/0.3821, allocations: 145.5 kB / 0.7569 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3821, allocations: 59.39 kB / 0.757 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3823, allocations: 120.4 kB / 0.7571 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3823, allocations: 33.7 kB / 0.7571 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.3824, allocations: 104.2 kB / 0.7572 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3825, allocations: 15.81 kB / 0.7573 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.3825, allocations: 112 / 0.7573 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3827, allocations: 326.8 kB / 0.7576 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.3828, allocations: 28 kB / 0.7576 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3829, allocations: 60.28 kB / 0.7577 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.383, allocations: 35.98 kB / 0.7577 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.807e-06/0.383, allocations: 0 / 0.7577 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003087/0.3833, allocations: 125.5 kB / 0.7578 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3834, allocations: 11.92 kB / 0.7578 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-06/0.3834, allocations: 0 / 0.7578 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3834, allocations: 4 kB / 0.7578 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3836, allocations: 23.94 kB / 0.7578 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.876e-06/0.3836, allocations: 4 kB / 0.7578 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.3838, allocations: 12.09 kB / 0.7579 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3838, allocations: 7.984 kB / 0.7579 GB, free: 4.719 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 (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.0001136/0.3839, allocations: 115.2 kB / 0.758 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.384, allocations: 7.906 kB / 0.758 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.384, allocations: 12.62 kB / 0.758 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-06/0.384, allocations: 0 / 0.758 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-06/0.384, allocations: 3.953 kB / 0.758 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.988e-06/0.384, allocations: 3.984 kB / 0.758 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.3848, allocations: 411.1 kB / 0.7584 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3848, allocations: 4 kB / 0.7584 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.3849, allocations: 7.984 kB / 0.7584 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.321e-06/0.3849, allocations: 4 kB / 0.7584 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3849, allocations: 3.984 kB / 0.7584 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.646e-06/0.385, allocations: 3.953 kB / 0.7584 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.385, allocations: 0 / 0.7584 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.3854, allocations: 241 kB / 0.7586 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.3855, allocations: 85.02 kB / 0.7587 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3855, allocations: 3.984 kB / 0.7587 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3857, allocations: 8 kB / 0.7587 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.3858, allocations: 15.94 kB / 0.7588 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3858, allocations: 48 / 0.7588 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.724e-05/0.3859, allocations: 107.8 kB / 0.7589 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.23e-07/0.3859, allocations: 0 / 0.7589 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004557/0.3864, allocations: 60.11 kB / 0.7589 GB, free: 3.566 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 (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.0004367/0.3868, allocations: 175.7 kB / 0.7591 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3871, allocations: 79.92 kB / 0.7592 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.332e-06/0.3871, allocations: 4.188 kB / 0.7592 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3873, allocations: 47.92 kB / 0.7592 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3875, allocations: 10.06 kB / 0.7592 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.3879, allocations: 128.6 kB / 0.7593 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3883, allocations: 0.6963 MB / 0.76 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.088e-05/0.3884, allocations: 12 kB / 0.76 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.3885, allocations: 15.42 kB / 0.76 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of SimCode: time 1.405e-06/0.3885, allocations: 4 kB / 0.7601 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of Templates: time 0.006144/0.3947, allocations: 1.921 MB / 0.7619 GB, free: 448 kB / 0.6355 GB