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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.01653/0.01653, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.00199/0.00199, allocations: 186.3 kB / 15.95 MB, free: 5.898 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.206/2.206, allocations: 194.6 MB / 211.3 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.409/2.409, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007469/0.0007471, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.7365, allocations: 98.72 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.255/0.9915, allocations: 126.5 MB / 0.807 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.9919, allocations: 83.95 kB / 0.807 GB, free: 15.59 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.01485/1.007, allocations: 2.943 MB / 0.8099 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/1.007, allocations: 0 / 0.8099 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.007, allocations: 0 / 0.8099 GB, free: 12.64 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.000757/1.008, allocations: 420.8 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.008, allocations: 8.031 kB / 0.8103 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/1.008, allocations: 38.56 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/1.008, allocations: 11.86 kB / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.008, allocations: 178.9 kB / 0.8105 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/1.008, allocations: 0 / 0.8105 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/1.008, allocations: 8 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/1.008, allocations: 73.59 kB / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.008, allocations: 0 / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/1.008, allocations: 4 kB / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.008, allocations: 0 / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/1.009, allocations: 39.97 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008675/1.01, allocations: 316.8 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/1.01, allocations: 54.5 kB / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/1.01, allocations: 3.984 kB / 0.811 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/1.01, allocations: 87.56 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.427e-06/1.01, allocations: 0 / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006679/1.011, allocations: 153.4 kB / 0.8113 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/1.011, allocations: 59.41 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/1.011, allocations: 116.9 kB / 0.8114 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.011, allocations: 25.7 kB / 0.8114 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/1.011, allocations: 96.25 kB / 0.8115 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/1.011, allocations: 19.8 kB / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/1.011, allocations: 0 / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.011, allocations: 318.8 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/1.012, allocations: 31.98 kB / 0.8119 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/1.012, allocations: 46.56 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/1.012, allocations: 31.98 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.012, allocations: 0 / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000427/1.012, allocations: 125.5 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.012, allocations: 4 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.012, allocations: 0 / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.012, allocations: 0 / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/1.013, allocations: 19.92 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.013, allocations: 3.953 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/1.013, allocations: 8.062 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/1.013, allocations: 8 kB / 0.8121 GB, free: 10.14 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.0001502/1.013, allocations: 117.8 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/1.013, allocations: 11.89 kB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/1.013, allocations: 12.38 kB / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.013, allocations: 0 / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.013, allocations: 4 kB / 0.8123 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.013, allocations: 3.953 kB / 0.8123 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/1.014, allocations: 386.4 kB / 0.8126 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/1.014, allocations: 4 kB / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/1.014, allocations: 7.984 kB / 0.8126 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.014, allocations: 3.938 kB / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.014, allocations: 0 / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.014, allocations: 7.953 kB / 0.8127 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.014, allocations: 3.938 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/1.015, allocations: 215.4 kB / 0.8129 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/1.015, allocations: 85.02 kB / 0.8129 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/1.015, allocations: 0 / 0.8129 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1.015, allocations: 8 kB / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/1.015, allocations: 15.94 kB / 0.813 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.015, allocations: 0 / 0.813 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.413e-05/1.015, allocations: 91.27 kB / 0.8131 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.015, allocations: 0 / 0.8131 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004584/1.015, allocations: 59.86 kB / 0.8131 GB, free: 9.012 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.001228/1.017, allocations: 0.8138 MB / 0.8139 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003992/1.017, allocations: 79.95 kB / 0.814 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.017, allocations: 0 / 0.814 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/1.017, allocations: 39.92 kB / 0.814 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/1.018, allocations: 11.33 kB / 0.814 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.019, allocations: 0.7326 MB / 0.8148 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/1.019, allocations: 0.6926 MB / 0.8154 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.614e-05/1.019, allocations: 8.172 kB / 0.8154 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/1.019, allocations: 19.44 kB / 0.8155 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/1.019, allocations: 0 / 0.8155 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/1.041, allocations: 2.497 MB / 0.8179 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/1.042, allocations: 241.7 kB / 0.8181 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.764, allocations: 4 kB / 0.8181 GB, free: 3.863 MB / 0.6355 GB