Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01005/0.01006, allocations: 88.36 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001217/0.001217, allocations: 169.5 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.235/2.235, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.855/2.855, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004867, allocations: 15.31 kB / 0.6243 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2508, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002249/0.2532, allocations: 1.206 MB / 0.7292 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.255, allocations: 0.7227 MB / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.255, allocations: 0 / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.2551, allocations: 11.92 kB / 0.73 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.2552, allocations: 7.984 kB / 0.73 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.2558, allocations: 91.7 kB / 0.7301 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2559, allocations: 47.88 kB / 0.7301 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.256, allocations: 11.97 kB / 0.7301 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2562, allocations: 31.91 kB / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.2563, allocations: 31.89 kB / 0.7302 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2563, allocations: 8 kB / 0.7302 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.2565, allocations: 67.88 kB / 0.7302 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.2566, allocations: 15.97 kB / 0.7303 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.2566, allocations: 37.64 kB / 0.7303 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.2568, allocations: 99.98 kB / 0.7304 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2569, allocations: 0 / 0.7304 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2569, allocations: 4 kB / 0.7304 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2569, allocations: 0 / 0.7304 GB, free: 7.723 MB / 0.5573 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.0007472/0.2576, allocations: 404.9 kB / 0.7308 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2577, allocations: 8.031 kB / 0.7308 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.2578, allocations: 30.56 kB / 0.7308 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2578, allocations: 11.86 kB / 0.7308 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.258, allocations: 178.8 kB / 0.731 GB, free: 7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.258, allocations: 11.98 kB / 0.731 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.2581, allocations: 7.938 kB / 0.731 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.2583, allocations: 69.66 kB / 0.7311 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2584, allocations: 0 / 0.7311 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2584, allocations: 4 kB / 0.7311 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2584, allocations: 4 kB / 0.7311 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.2586, allocations: 43.92 kB / 0.7311 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.2595, allocations: 308.8 kB / 0.7314 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.2597, allocations: 54.5 kB / 0.7315 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.2598, allocations: 4 kB / 0.7315 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.2601, allocations: 79.58 kB / 0.7316 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.574e-06/0.2601, allocations: 0 / 0.7316 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0007759/0.2609, allocations: 157.7 kB / 0.7317 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.261, allocations: 63.33 kB / 0.7318 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2611, allocations: 117.8 kB / 0.7319 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.2612, allocations: 29.7 kB / 0.7319 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.2613, allocations: 96.22 kB / 0.732 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.2613, allocations: 11.84 kB / 0.732 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.2614, allocations: 3.938 kB / 0.732 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2615, allocations: 322.8 kB / 0.7323 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2617, allocations: 23.98 kB / 0.7323 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2619, allocations: 50.56 kB / 0.7324 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.2622, allocations: 40.05 kB / 0.7324 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2622, allocations: 0 / 0.7324 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005529/0.2628, allocations: 121.5 kB / 0.7325 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.2628, allocations: 8 kB / 0.7326 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2628, allocations: 0 / 0.7326 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.2629, allocations: 3.953 kB / 0.7326 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.2631, allocations: 23.92 kB / 0.7326 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2631, allocations: 0 / 0.7326 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.2633, allocations: 11.97 kB / 0.7326 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.2633, allocations: 4 kB / 0.7326 GB, free: 5.219 MB / 0.5573 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 (win.occ,$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.0001548/0.2635, allocations: 121.8 kB / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2635, allocations: 7.984 kB / 0.7327 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.2636, allocations: 8.375 kB / 0.7327 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.2636, allocations: 7.953 kB / 0.7327 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2636, allocations: 0 / 0.7327 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2636, allocations: 0 / 0.7327 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.2646, allocations: 394.3 kB / 0.7331 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.2646, allocations: 0 / 0.7331 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/0.2647, allocations: 15.92 kB / 0.7331 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.2647, allocations: 3.953 kB / 0.7331 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.2648, allocations: 0 / 0.7331 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.2648, allocations: 4 kB / 0.7331 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2648, allocations: 0 / 0.7331 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.2654, allocations: 219.3 kB / 0.7333 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.2655, allocations: 85.11 kB / 0.7334 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.2655, allocations: 3.953 kB / 0.7334 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.2657, allocations: 4 kB / 0.7334 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2658, allocations: 11.98 kB / 0.7334 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.2659, allocations: 0 / 0.7334 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.514e-05/0.266, allocations: 91.27 kB / 0.7335 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/0.266, allocations: 0 / 0.7335 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006638/0.2666, allocations: 39.98 kB / 0.7336 GB, free: 4.121 MB / 0.5573 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,win.occ,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.001419/0.2681, allocations: 0.8109 MB / 0.7344 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.2686, allocations: 79.94 kB / 0.7344 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2686, allocations: 0 / 0.7344 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.2688, allocations: 39.92 kB / 0.7345 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.2692, allocations: 11.89 kB / 0.7345 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2706, allocations: 0.7168 MB / 0.7352 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.2711, allocations: 0.6965 MB / 0.7359 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.757e-05/0.2712, allocations: 8.172 kB / 0.7359 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.761e-05/0.2713, allocations: 23.38 kB / 0.7359 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.2713, allocations: 0 / 0.7359 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07625/0.3476, allocations: 2.323 MB / 0.7382 GB, free: 15.44 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004057/0.348, allocations: 250.4 kB / 0.7384 GB, free: 15.11 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/2.851, allocations: 0 / 0.7384 GB, free: 15.11 MB / 0.573 GB