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.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01506/0.01506, allocations: 89.16 kB / 15.04 MB, free: 5.582 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.001975/0.001975, allocations: 173 kB / 15.92 MB, free: 5.555 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.131/2.131, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.572/2.572, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.000665, allocations: 19.34 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2207, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002325/0.2231, allocations: 1.203 MB / 0.7292 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.225, allocations: 0.7266 MB / 0.7299 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.2251, allocations: 0 / 0.7299 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.2251, allocations: 4 kB / 0.73 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.2252, allocations: 11.92 kB / 0.73 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.2258, allocations: 95.69 kB / 0.7301 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.226, allocations: 47.88 kB / 0.7301 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2261, allocations: 11.97 kB / 0.7301 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2262, allocations: 35.91 kB / 0.7301 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.2263, allocations: 27.91 kB / 0.7302 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2263, allocations: 4 kB / 0.7302 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.2266, allocations: 75.86 kB / 0.7302 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.2266, allocations: 7.984 kB / 0.7303 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.2267, allocations: 37.64 kB / 0.7303 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.2269, allocations: 108 kB / 0.7304 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2269, allocations: 0 / 0.7304 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.227, allocations: 0 / 0.7304 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.227, allocations: 0 / 0.7304 GB, free: 7.746 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.000732/0.2277, allocations: 400.9 kB / 0.7308 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.2278, allocations: 12.03 kB / 0.7308 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.2278, allocations: 34.56 kB / 0.7308 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.2279, allocations: 11.86 kB / 0.7308 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2281, allocations: 174.9 kB / 0.731 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.2281, allocations: 0 / 0.731 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.2281, allocations: 4 kB / 0.731 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2284, allocations: 81.59 kB / 0.7311 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2285, allocations: 0 / 0.7311 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2285, allocations: 0 / 0.7311 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2285, allocations: 0 / 0.7311 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.2287, allocations: 47.92 kB / 0.7311 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.2296, allocations: 316.8 kB / 0.7314 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.2298, allocations: 50.5 kB / 0.7315 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.2299, allocations: 0 / 0.7315 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.2302, allocations: 83.5 kB / 0.7316 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 3.837e-06/0.2302, allocations: 0 / 0.7316 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006496/0.2309, allocations: 161.4 kB / 0.7317 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.2309, allocations: 55.34 kB / 0.7318 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2311, allocations: 117.8 kB / 0.7319 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.2311, allocations: 29.7 kB / 0.7319 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.2312, allocations: 104.2 kB / 0.732 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.2313, allocations: 15.84 kB / 0.732 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.2313, allocations: 0 / 0.732 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2314, allocations: 318.8 kB / 0.7323 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2316, allocations: 35.98 kB / 0.7324 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.2317, allocations: 50.98 kB / 0.7324 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2319, allocations: 28 kB / 0.7324 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2319, allocations: 4 kB / 0.7324 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004148/0.2323, allocations: 117.5 kB / 0.7326 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2324, allocations: 4 kB / 0.7326 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2324, allocations: 0 / 0.7326 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.2324, allocations: 7.953 kB / 0.7326 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2326, allocations: 15.92 kB / 0.7326 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2326, allocations: 0 / 0.7326 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2327, allocations: 15.97 kB / 0.7326 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.2328, allocations: 7.984 kB / 0.7326 GB, free: 5.246 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.0001387/0.2329, allocations: 117.8 kB / 0.7327 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.233, allocations: 7.984 kB / 0.7327 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.233, allocations: 4.375 kB / 0.7327 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.233, allocations: 3.953 kB / 0.7327 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.233, allocations: 0 / 0.7327 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2331, allocations: 4 kB / 0.7327 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007625/0.2338, allocations: 394.3 kB / 0.7331 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2339, allocations: 3.938 kB / 0.7331 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.2339, allocations: 11.98 kB / 0.7331 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.234, allocations: 3.953 kB / 0.7331 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.234, allocations: 0 / 0.7331 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.234, allocations: 8 kB / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.234, allocations: 0 / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.2346, allocations: 219.3 kB / 0.7333 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.2346, allocations: 77.11 kB / 0.7334 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.2347, allocations: 3.953 kB / 0.7334 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2348, allocations: 11.98 kB / 0.7334 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.2349, allocations: 4 kB / 0.7334 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2349, allocations: 8 kB / 0.7334 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.582e-05/0.235, allocations: 95.42 kB / 0.7335 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.235, allocations: 0 / 0.7335 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000448/0.2355, allocations: 39.98 kB / 0.7336 GB, free: 4.148 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.001179/0.2367, allocations: 0.8095 MB / 0.7344 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.2371, allocations: 83.89 kB / 0.7344 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2371, allocations: 0 / 0.7344 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.2373, allocations: 35.92 kB / 0.7345 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2376, allocations: 11.94 kB / 0.7345 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2387, allocations: 0.7168 MB / 0.7352 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.239, allocations: 0.6926 MB / 0.7359 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.689e-05/0.2391, allocations: 8.172 kB / 0.7359 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.2391, allocations: 15.44 kB / 0.7359 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/0.2391, allocations: 0 / 0.7359 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2614, allocations: 2.341 MB / 0.7382 GB, free: 15.47 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/0.2618, allocations: 254.1 kB / 0.7384 GB, free: 15.13 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/2.976, allocations: 0 / 0.7384 GB, free: 15.13 MB / 0.573 GB