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.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.01553/0.01553, allocations: 92.88 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.002033/0.002033, allocations: 173.3 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.177/2.177, allocations: 205.5 MB / 222.2 MB, free: 13.57 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.581/2.581, allocations: 252.8 MB / 0.511 GB, free: 8.258 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006739/0.0006741, allocations: 10.12 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2492, allocations: 106.2 MB / 0.7281 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002231/0.2515, allocations: 1.203 MB / 0.7292 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2533, allocations: 0.7266 MB / 0.73 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.2534, allocations: 0 / 0.73 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.2534, allocations: 0 / 0.73 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.2535, allocations: 11.92 kB / 0.73 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.2542, allocations: 103.7 kB / 0.7301 GB, free: 6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2543, allocations: 39.89 kB / 0.7301 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.2544, allocations: 15.97 kB / 0.7301 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2545, allocations: 31.91 kB / 0.7301 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2547, allocations: 31.91 kB / 0.7302 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2547, allocations: 4 kB / 0.7302 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.2549, allocations: 67.86 kB / 0.7302 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.255, allocations: 11.98 kB / 0.7303 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.255, allocations: 37.64 kB / 0.7303 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.2553, allocations: 108 kB / 0.7304 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2553, allocations: 0 / 0.7304 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2553, allocations: 0 / 0.7304 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2553, allocations: 0 / 0.7304 GB, free: 5.652 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.0007356/0.2561, allocations: 408.9 kB / 0.7308 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2561, allocations: 12.03 kB / 0.7308 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.2562, allocations: 34.55 kB / 0.7308 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.2562, allocations: 11.86 kB / 0.7308 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2564, allocations: 170.9 kB / 0.731 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.2564, allocations: 4 kB / 0.731 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.2565, allocations: 4 kB / 0.731 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.2567, allocations: 73.59 kB / 0.7311 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2568, allocations: 4 kB / 0.7311 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2568, allocations: 4 kB / 0.7311 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2568, allocations: 0 / 0.7311 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.257, allocations: 43.92 kB / 0.7311 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/0.2579, allocations: 320.8 kB / 0.7314 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.2581, allocations: 54.5 kB / 0.7315 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.2582, allocations: 4 kB / 0.7315 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.2584, allocations: 75.5 kB / 0.7316 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 4.218e-06/0.2585, allocations: 0 / 0.7316 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006647/0.2591, allocations: 157.4 kB / 0.7317 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.2592, allocations: 51.41 kB / 0.7318 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2593, allocations: 129.7 kB / 0.7319 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.2594, allocations: 29.7 kB / 0.7319 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.2594, allocations: 96.3 kB / 0.732 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.2595, allocations: 19.83 kB / 0.732 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-06/0.2595, allocations: 0 / 0.732 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2596, allocations: 314.8 kB / 0.7323 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2598, allocations: 31.98 kB / 0.7324 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.26, allocations: 50.55 kB / 0.7324 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.2601, allocations: 35.98 kB / 0.7324 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2601, allocations: 4 kB / 0.7324 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003917/0.2605, allocations: 113.8 kB / 0.7326 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2606, allocations: 4 kB / 0.7326 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2606, allocations: 0 / 0.7326 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2606, allocations: 7.953 kB / 0.7326 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2608, allocations: 15.94 kB / 0.7326 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.2608, allocations: 12.11 kB / 0.7326 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2609, allocations: 11.91 kB / 0.7326 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.261, allocations: 0 / 0.7326 GB, free: 3.148 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.0001273/0.2611, allocations: 117.8 kB / 0.7327 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.2611, allocations: 0 / 0.7327 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.2612, allocations: 16.36 kB / 0.7327 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2612, allocations: 7.938 kB / 0.7327 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2612, allocations: 0 / 0.7327 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2612, allocations: 7.938 kB / 0.7327 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.262, allocations: 394.3 kB / 0.7331 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.262, allocations: 7.938 kB / 0.7331 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.2621, allocations: 4 kB / 0.7331 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2621, allocations: 3.953 kB / 0.7331 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2621, allocations: 3.984 kB / 0.7331 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2621, allocations: 8 kB / 0.7331 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2621, allocations: 0 / 0.7331 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.2626, allocations: 211.4 kB / 0.7333 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2627, allocations: 81.11 kB / 0.7334 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.2627, allocations: 7.938 kB / 0.7334 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2629, allocations: 8 kB / 0.7334 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.2629, allocations: 7.984 kB / 0.7334 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.2629, allocations: 0 / 0.7334 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.263, allocations: 95.27 kB / 0.7335 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.7e-07/0.263, allocations: 0 / 0.7335 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004391/0.2635, allocations: 36 kB / 0.7336 GB, free: 2.051 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.001122/0.2646, allocations: 0.8063 MB / 0.7344 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.265, allocations: 71.91 kB / 0.7344 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.265, allocations: 0 / 0.7344 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.2652, allocations: 44.3 kB / 0.7345 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2655, allocations: 12.94 kB / 0.7345 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2666, allocations: 0.7209 MB / 0.7352 GB, free: 332 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.2669, allocations: 0.6887 MB / 0.7359 GB, free: 15.61 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.19e-05/0.267, allocations: 8.172 kB / 0.7359 GB, free: 15.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.2671, allocations: 23.42 kB / 0.7359 GB, free: 15.58 MB / 0.573 GB Notification: Performance of SimCode: time 1.302e-06/0.2671, allocations: 0 / 0.7359 GB, free: 15.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.2909, allocations: 2.315 MB / 0.7382 GB, free: 13.37 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000539/0.2915, allocations: 242.4 kB / 0.7384 GB, free: 13.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/2.82, allocations: 3.938 kB / 0.7384 GB, free: 13.09 MB / 0.573 GB