Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004213/0.004218, allocations: 233.4 kB / 15.83 MB, free: 6.289 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001174/0.001174, allocations: 173.8 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.961/3.961, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.11/4.11, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006335, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1787, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7789/0.9577, allocations: 126.5 MB / 1.228 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.958, allocations: 91.67 kB / 1.228 GB, free: 27.03 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01319/0.9713, allocations: 2.943 MB / 1.231 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.564e-06/0.9713, allocations: 0 / 1.231 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9713, allocations: 0 / 1.231 GB, free: 25.33 MB / 0.6198 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.0006235/0.9719, allocations: 420.9 kB / 1.232 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.972, allocations: 9.156 kB / 1.232 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.9721, allocations: 7.906 kB / 1.232 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.947e-05/0.9722, allocations: 181.7 kB / 1.232 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.9722, allocations: 4 kB / 1.232 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.9722, allocations: 9.344 kB / 1.232 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.9725, allocations: 64.12 kB / 1.232 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.9725, allocations: 0 / 1.232 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.9725, allocations: 3.938 kB / 1.232 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.9725, allocations: 1.5 kB / 1.232 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.9728, allocations: 46.22 kB / 1.232 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.9736, allocations: 321.9 kB / 1.232 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.9738, allocations: 50.38 kB / 1.232 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.9739, allocations: 36.47 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.974, allocations: 0 / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.9742, allocations: 84.38 kB / 1.232 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.9743, allocations: 0 / 1.232 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00059/0.9748, allocations: 148.9 kB / 1.232 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.9749, allocations: 64.3 kB / 1.233 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.975, allocations: 118.3 kB / 1.233 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.9751, allocations: 32.77 kB / 1.233 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.9752, allocations: 89.55 kB / 1.233 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.9752, allocations: 21.03 kB / 1.233 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.9752, allocations: 0 / 1.233 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9753, allocations: 321.2 kB / 1.233 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.9755, allocations: 28.38 kB / 1.233 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.9756, allocations: 50.22 kB / 1.233 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.9758, allocations: 38.03 kB / 1.233 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9758, allocations: 2.594 kB / 1.233 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003539/0.9762, allocations: 114.6 kB / 1.233 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9762, allocations: 7.094 kB / 1.233 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.9762, allocations: 7.25 kB / 1.233 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9762, allocations: 1.359 kB / 1.233 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.9764, allocations: 18.84 kB / 1.233 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.9764, allocations: 4 kB / 1.233 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.9765, allocations: 6.281 kB / 1.233 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.9766, allocations: 4 kB / 1.233 GB, free: 23.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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.0001219/0.9767, allocations: 120.3 kB / 1.233 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.9767, allocations: 7.906 kB / 1.233 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.9768, allocations: 10.16 kB / 1.233 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9768, allocations: 0.8906 kB / 1.233 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.9768, allocations: 10.67 kB / 1.233 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.9768, allocations: 1.219 kB / 1.233 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.9774, allocations: 375.7 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.9775, allocations: 4.438 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.9775, allocations: 5.266 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.9776, allocations: 0.6094 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.9776, allocations: 16.47 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9776, allocations: 3.938 kB / 1.234 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.9776, allocations: 0.6562 kB / 1.234 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008875/0.9785, allocations: 217.4 kB / 1.234 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.9785, allocations: 82.47 kB / 1.234 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.9786, allocations: 3.734 kB / 1.234 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.9787, allocations: 9.641 kB / 1.234 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.9788, allocations: 10.16 kB / 1.234 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.9788, allocations: 8.781 kB / 1.234 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.593e-05/0.9789, allocations: 91.31 kB / 1.234 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9789, allocations: 0 / 1.234 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004809/0.9794, allocations: 50.27 kB / 1.234 GB, free: 38.25 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 () * Number of clocked 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.0004479/0.9799, allocations: 175.4 kB / 1.235 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.9802, allocations: 77.14 kB / 1.235 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9803, allocations: 4 kB / 1.235 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.9804, allocations: 35.72 kB / 1.235 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.9808, allocations: 10.5 kB / 1.235 GB, free: 38.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.9813, allocations: 199.7 kB / 1.235 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.9816, allocations: 0.6901 MB / 1.235 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.137e-05/0.9817, allocations: 9.625 kB / 1.236 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.9817, allocations: 12.09 kB / 1.236 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.9817, allocations: 0 / 1.236 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.005705/0.9874, allocations: 1.53 MB / 1.237 GB, free: 36.35 MB / 0.6355 GB