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.Herkel2008WindowsCompletelyOpen.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01133/0.01133, allocations: 107.6 kB / 15.05 MB, free: 5.93 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.001224/0.001224, allocations: 186.2 kB / 15.95 MB, free: 5.895 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 2.204/2.204, allocations: 194.5 MB / 211.2 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.355/2.355, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005171, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7037, allocations: 98.72 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2928/0.9966, allocations: 126.5 MB / 0.807 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.9969, allocations: 83.95 kB / 0.807 GB, free: 15.62 MB / 0.6355 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.01392/1.011, allocations: 2.952 MB / 0.8099 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/1.011, allocations: 0 / 0.8099 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.515e-06/1.011, allocations: 0 / 0.8099 GB, free: 12.66 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.000717/1.012, allocations: 432.8 kB / 0.8103 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.012, allocations: 8.031 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/1.012, allocations: 30.56 kB / 0.8104 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/1.012, allocations: 11.86 kB / 0.8104 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.012, allocations: 174.9 kB / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/1.012, allocations: 8 kB / 0.8106 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/1.012, allocations: 4 kB / 0.8106 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/1.012, allocations: 65.66 kB / 0.8106 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.012, allocations: 4 kB / 0.8106 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.012, allocations: 0 / 0.8106 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.012, allocations: 0 / 0.8106 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/1.013, allocations: 47.97 kB / 0.8107 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/1.013, allocations: 316.7 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/1.014, allocations: 54.56 kB / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/1.014, allocations: 7.922 kB / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/1.014, allocations: 75.52 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/1.014, allocations: 0 / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006469/1.015, allocations: 157.4 kB / 0.8113 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/1.015, allocations: 51.41 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.015, allocations: 113.3 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.015, allocations: 29.7 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/1.015, allocations: 92.25 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/1.015, allocations: 23.81 kB / 0.8116 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/1.015, allocations: 0 / 0.8116 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.015, allocations: 322.8 kB / 0.8119 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/1.015, allocations: 27.98 kB / 0.8119 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/1.015, allocations: 58.59 kB / 0.8119 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/1.016, allocations: 31.98 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.016, allocations: 0 / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004096/1.016, allocations: 125.8 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.016, allocations: 4 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.016, allocations: 4 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.016, allocations: 0 / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.016, allocations: 15.92 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.016, allocations: 7.953 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/1.016, allocations: 4 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/1.016, allocations: 8 kB / 0.8121 GB, free: 10.15 MB / 0.6355 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.0001252/1.017, allocations: 121.9 kB / 0.8123 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/1.017, allocations: 7.906 kB / 0.8123 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/1.017, allocations: 8.375 kB / 0.8123 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/1.017, allocations: 0 / 0.8123 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.017, allocations: 3.938 kB / 0.8123 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.017, allocations: 11.95 kB / 0.8123 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/1.017, allocations: 386.4 kB / 0.8126 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.017, allocations: 0 / 0.8126 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/1.018, allocations: 7.984 kB / 0.8127 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.018, allocations: 0 / 0.8127 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.018, allocations: 0 / 0.8127 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/1.018, allocations: 7.953 kB / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.018, allocations: 0 / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/1.018, allocations: 223.4 kB / 0.8129 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/1.018, allocations: 81.02 kB / 0.813 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/1.018, allocations: 0 / 0.813 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.018, allocations: 4 kB / 0.813 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/1.018, allocations: 15.94 kB / 0.813 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/1.018, allocations: 8 kB / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.006e-05/1.019, allocations: 91.27 kB / 0.8131 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/1.019, allocations: 0 / 0.8131 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004467/1.019, allocations: 55.86 kB / 0.8131 GB, free: 9.031 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.001131/1.02, allocations: 0.8114 MB / 0.8139 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003805/1.021, allocations: 84.27 kB / 0.814 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.021, allocations: 3.938 kB / 0.814 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/1.021, allocations: 32.14 kB / 0.814 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/1.021, allocations: 11.94 kB / 0.814 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.022, allocations: 0.7326 MB / 0.8148 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/1.022, allocations: 0.6965 MB / 0.8154 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.082e-05/1.022, allocations: 8.156 kB / 0.8154 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/1.022, allocations: 19.44 kB / 0.8155 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/1.022, allocations: 0 / 0.8155 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/1.047, allocations: 2.51 MB / 0.8179 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003672/1.048, allocations: 251.5 kB / 0.8182 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.76, allocations: 0 / 0.8182 GB, free: 3.832 MB / 0.6355 GB