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.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.01095/0.01095, allocations: 87.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.001145/0.001146, allocations: 168.6 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.447/2.447, 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.53/2.53, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 12.12 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2444, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002795/0.2473, allocations: 1.203 MB / 0.7292 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2496, allocations: 0.7227 MB / 0.7299 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.2497, allocations: 0 / 0.7299 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.2498, allocations: 0 / 0.7299 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.2499, allocations: 19.86 kB / 0.73 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.2507, allocations: 95.69 kB / 0.7301 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2508, allocations: 47.88 kB / 0.7301 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2509, allocations: 11.97 kB / 0.7301 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2511, allocations: 31.91 kB / 0.7301 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2512, allocations: 27.91 kB / 0.7302 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.2513, allocations: 4 kB / 0.7302 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.2515, allocations: 75.86 kB / 0.7302 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.2516, allocations: 11.98 kB / 0.7303 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.2517, allocations: 37.64 kB / 0.7303 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.252, allocations: 104 kB / 0.7304 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.252, allocations: 0 / 0.7304 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.264e-06/0.252, allocations: 4 kB / 0.7304 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.252, allocations: 0 / 0.7304 GB, free: 7.738 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.0009227/0.253, allocations: 404.9 kB / 0.7308 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.2531, allocations: 8.031 kB / 0.7308 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.2531, allocations: 30.56 kB / 0.7308 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.2532, allocations: 11.86 kB / 0.7308 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.2534, allocations: 178.8 kB / 0.731 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.2535, allocations: 8 kB / 0.731 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.2535, allocations: 4 kB / 0.731 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.2539, allocations: 69.59 kB / 0.7311 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2539, allocations: 0 / 0.7311 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2539, allocations: 8 kB / 0.7311 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.254, allocations: 4 kB / 0.7311 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.2543, allocations: 43.92 kB / 0.7311 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2553, allocations: 312.8 kB / 0.7314 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.2556, allocations: 58.48 kB / 0.7315 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.2557, allocations: 4 kB / 0.7315 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.256, allocations: 79.5 kB / 0.7316 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 5.17e-06/0.256, allocations: 0 / 0.7316 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.000811/0.2569, allocations: 157.5 kB / 0.7317 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.2569, allocations: 59.34 kB / 0.7318 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2571, allocations: 121.8 kB / 0.7319 GB, free: 6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2572, allocations: 29.7 kB / 0.7319 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.2573, allocations: 96.22 kB / 0.732 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.2573, allocations: 11.84 kB / 0.732 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.2574, allocations: 0 / 0.732 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2575, allocations: 322.8 kB / 0.7323 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.2577, allocations: 23.98 kB / 0.7323 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.258, allocations: 54.55 kB / 0.7324 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.2582, allocations: 32 kB / 0.7324 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2582, allocations: 3.938 kB / 0.7324 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000532/0.2588, allocations: 117.5 kB / 0.7325 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.2588, allocations: 8 kB / 0.7326 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2588, allocations: 400 / 0.7326 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.2589, allocations: 7.953 kB / 0.7326 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2591, allocations: 23.92 kB / 0.7326 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2591, allocations: 0 / 0.7326 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.2593, allocations: 7.906 kB / 0.7326 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.2593, allocations: 7.984 kB / 0.7326 GB, free: 5.234 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.0001461/0.2595, allocations: 117.9 kB / 0.7327 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2595, allocations: 4 kB / 0.7327 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.2596, allocations: 8.375 kB / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2596, allocations: 7.953 kB / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2596, allocations: 0 / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2596, allocations: 3.984 kB / 0.7327 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009008/0.2605, allocations: 394.3 kB / 0.7331 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2606, allocations: 3.938 kB / 0.7331 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.2607, allocations: 7.984 kB / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2607, allocations: 7.953 kB / 0.7331 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2607, allocations: 0 / 0.7331 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2607, allocations: 0 / 0.7331 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2607, allocations: 0 / 0.7331 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.2614, allocations: 223.3 kB / 0.7333 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.2615, allocations: 85.11 kB / 0.7334 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.2615, allocations: 3.953 kB / 0.7334 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2617, allocations: 7.984 kB / 0.7334 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.2618, allocations: 4 kB / 0.7334 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.2618, allocations: 4 kB / 0.7334 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.886e-05/0.2619, allocations: 91.27 kB / 0.7335 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2619, allocations: 0 / 0.7335 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006416/0.2626, allocations: 39.98 kB / 0.7336 GB, free: 4.141 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.001499/0.2641, allocations: 0.8122 MB / 0.7344 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.2646, allocations: 83.89 kB / 0.7344 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2646, allocations: 0 / 0.7344 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.2649, allocations: 39.92 kB / 0.7345 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.2652, allocations: 11.94 kB / 0.7345 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2666, allocations: 0.7173 MB / 0.7352 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.267, allocations: 0.6926 MB / 0.7359 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.816e-05/0.2671, allocations: 8.172 kB / 0.7359 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.2672, allocations: 19.44 kB / 0.7359 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/0.2672, allocations: 0 / 0.7359 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.3083, allocations: 2.321 MB / 0.7382 GB, free: 15.45 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/0.3087, allocations: 241.7 kB / 0.7384 GB, free: 15.18 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/2.873, allocations: 0 / 0.7384 GB, free: 15.18 MB / 0.573 GB