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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.01054/0.01054, allocations: 89.12 kB / 15.04 MB, free: 5.977 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.001186/0.001186, allocations: 171.3 kB / 15.92 MB, free: 5.938 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.263/2.263, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.468/2.468, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004807, allocations: 13.59 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002833/0.2324, allocations: 1.206 MB / 0.7292 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.2346, allocations: 0.7188 MB / 0.7299 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.2347, allocations: 4 kB / 0.7299 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.2347, allocations: 3.938 kB / 0.73 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.2348, allocations: 3.984 kB / 0.73 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.2356, allocations: 107.7 kB / 0.7301 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2357, allocations: 43.89 kB / 0.7301 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2358, allocations: 11.97 kB / 0.7301 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.236, allocations: 27.91 kB / 0.7301 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2361, allocations: 31.91 kB / 0.7302 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.2362, allocations: 4 kB / 0.7302 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.2365, allocations: 71.86 kB / 0.7302 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.2365, allocations: 11.98 kB / 0.7303 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.2366, allocations: 41.64 kB / 0.7303 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.2369, allocations: 104 kB / 0.7304 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2369, allocations: 0 / 0.7304 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2369, allocations: 0 / 0.7304 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2369, allocations: 0 / 0.7304 GB, free: 7.754 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.000892/0.2378, allocations: 400.9 kB / 0.7308 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.2379, allocations: 16.03 kB / 0.7308 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.238, allocations: 30.56 kB / 0.7308 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.2381, allocations: 15.84 kB / 0.7308 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2383, allocations: 170.9 kB / 0.731 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.2383, allocations: 8 kB / 0.731 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2384, allocations: 0 / 0.731 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.2387, allocations: 73.59 kB / 0.7311 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2387, allocations: 0 / 0.7311 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.2388, allocations: 4 kB / 0.7311 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2388, allocations: 7.984 kB / 0.7311 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.2391, allocations: 47.92 kB / 0.7311 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.2403, allocations: 316.8 kB / 0.7314 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.2406, allocations: 54.48 kB / 0.7315 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.2406, allocations: 0 / 0.7315 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/0.241, allocations: 75.5 kB / 0.7316 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.826e-06/0.241, allocations: 4 kB / 0.7316 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0008764/0.2419, allocations: 153.4 kB / 0.7317 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.242, allocations: 63.36 kB / 0.7318 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2422, allocations: 121.8 kB / 0.7319 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.2423, allocations: 33.7 kB / 0.7319 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.2424, allocations: 96.22 kB / 0.732 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.2424, allocations: 15.84 kB / 0.732 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.2425, allocations: 0 / 0.732 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.2427, allocations: 322.8 kB / 0.7323 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2429, allocations: 23.98 kB / 0.7324 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2431, allocations: 54.55 kB / 0.7324 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.2434, allocations: 36.3 kB / 0.7324 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2434, allocations: 0 / 0.7324 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006435/0.2441, allocations: 121.5 kB / 0.7326 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.2441, allocations: 7.984 kB / 0.7326 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2442, allocations: 4 kB / 0.7326 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.2442, allocations: 7.953 kB / 0.7326 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.2444, allocations: 11.94 kB / 0.7326 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.2445, allocations: 0 / 0.7326 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.2446, allocations: 15.89 kB / 0.7326 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2447, allocations: 4 kB / 0.7326 GB, free: 5.242 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.0001768/0.2449, allocations: 117.9 kB / 0.7327 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.2449, allocations: 4 kB / 0.7327 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.245, allocations: 12.36 kB / 0.7327 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.245, allocations: 3.953 kB / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.245, allocations: 0 / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.245, allocations: 0 / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.2461, allocations: 398.3 kB / 0.7331 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.2462, allocations: 0 / 0.7331 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.684e-05/0.2463, allocations: 7.938 kB / 0.7331 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.2463, allocations: 3.953 kB / 0.7331 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.2463, allocations: 7.984 kB / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2464, allocations: 0 / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2464, allocations: 0 / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.2471, allocations: 219.4 kB / 0.7333 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.2472, allocations: 77.11 kB / 0.7334 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.2472, allocations: 7.938 kB / 0.7334 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2475, allocations: 4 kB / 0.7334 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.2476, allocations: 11.97 kB / 0.7334 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.2476, allocations: 4 kB / 0.7334 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001073/0.2477, allocations: 95.27 kB / 0.7335 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2477, allocations: 0 / 0.7335 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007421/0.2485, allocations: 36 kB / 0.7336 GB, free: 4.152 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.001493/0.25, allocations: 0.821 MB / 0.7344 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.2505, allocations: 67.95 kB / 0.7344 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2505, allocations: 4.125 kB / 0.7344 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.2508, allocations: 43.91 kB / 0.7345 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2511, allocations: 11.95 kB / 0.7345 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2525, allocations: 0.7167 MB / 0.7352 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2529, allocations: 0.6887 MB / 0.7359 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.176e-05/0.253, allocations: 8.188 kB / 0.7359 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.2531, allocations: 23.42 kB / 0.7359 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/0.2531, allocations: 0 / 0.7359 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.3158, allocations: 2.308 MB / 0.7382 GB, free: 15.47 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/0.3163, allocations: 242.4 kB / 0.7384 GB, free: 15.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/2.852, allocations: 7.594 kB / 0.7384 GB, free: 15.19 MB / 0.573 GB