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.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.01454/0.01455, 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.002129/0.002129, allocations: 174.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.272/2.272, 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.6/2.6, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 12.72 kB / 0.6243 GB, free: 21.17 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.243, allocations: 106.2 MB / 0.7281 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002158/0.2453, allocations: 1.203 MB / 0.7292 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.247, allocations: 0.7227 MB / 0.73 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.2471, allocations: 0 / 0.73 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2471, allocations: 0 / 0.73 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.2472, allocations: 15.92 kB / 0.73 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.2478, allocations: 91.7 kB / 0.7301 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2479, allocations: 47.88 kB / 0.7301 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.248, allocations: 19.95 kB / 0.7301 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2482, allocations: 27.92 kB / 0.7301 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.492e-05/0.2483, allocations: 31.89 kB / 0.7302 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.2483, allocations: 4 kB / 0.7302 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.2485, allocations: 67.88 kB / 0.7302 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.2486, allocations: 19.97 kB / 0.7303 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.2486, allocations: 37.64 kB / 0.7303 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.2489, allocations: 99.98 kB / 0.7304 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2489, allocations: 3.938 kB / 0.7304 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2489, allocations: 0 / 0.7304 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2489, allocations: 0 / 0.7304 GB, free: 5.711 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.0007304/0.2496, allocations: 400.9 kB / 0.7308 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2497, allocations: 12.03 kB / 0.7308 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.2498, allocations: 34.56 kB / 0.7308 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.2498, allocations: 11.86 kB / 0.7308 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.25, allocations: 182.8 kB / 0.731 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.25, allocations: 4 kB / 0.731 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.25, allocations: 8 kB / 0.731 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.2503, allocations: 69.59 kB / 0.7311 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2503, allocations: 0 / 0.7311 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2504, allocations: 4 kB / 0.7311 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2504, allocations: 0 / 0.7311 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.2506, allocations: 47.92 kB / 0.7311 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.2514, allocations: 312.8 kB / 0.7314 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.2517, allocations: 50.5 kB / 0.7315 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.2517, allocations: 7.984 kB / 0.7315 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.252, allocations: 79.52 kB / 0.7316 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.252, allocations: 0 / 0.7316 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.000621/0.2526, allocations: 149.5 kB / 0.7317 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.2527, allocations: 63.34 kB / 0.7318 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2528, allocations: 117.8 kB / 0.7319 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2529, allocations: 37.62 kB / 0.7319 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.2529, allocations: 92.23 kB / 0.732 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.253, allocations: 11.84 kB / 0.732 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.253, allocations: 4 kB / 0.732 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2531, allocations: 318.8 kB / 0.7323 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2533, allocations: 27.98 kB / 0.7324 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.2535, allocations: 54.55 kB / 0.7324 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2536, allocations: 28 kB / 0.7324 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2536, allocations: 0 / 0.7324 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004066/0.2541, allocations: 125.5 kB / 0.7326 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2541, allocations: 8 kB / 0.7326 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2541, allocations: 0 / 0.7326 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2541, allocations: 3.953 kB / 0.7326 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2543, allocations: 11.98 kB / 0.7326 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2543, allocations: 7.938 kB / 0.7326 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2545, allocations: 15.89 kB / 0.7326 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2545, allocations: 4 kB / 0.7326 GB, free: 3.211 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.0001214/0.2546, allocations: 117.9 kB / 0.7327 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2547, allocations: 8 kB / 0.7327 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.2547, allocations: 12.31 kB / 0.7327 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.2547, allocations: 7.953 kB / 0.7327 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2547, allocations: 0 / 0.7327 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2547, allocations: 3.984 kB / 0.7327 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.2554, allocations: 386.3 kB / 0.7331 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2555, allocations: 3.984 kB / 0.7331 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.2555, allocations: 11.92 kB / 0.7331 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.2556, allocations: 7.953 kB / 0.7331 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2556, allocations: 4 kB / 0.7331 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2556, allocations: 0 / 0.7331 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2556, allocations: 0 / 0.7331 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.2561, allocations: 219.9 kB / 0.7333 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.2561, allocations: 81.05 kB / 0.7334 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.2562, allocations: 7.953 kB / 0.7334 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2563, allocations: 11.98 kB / 0.7334 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.2564, allocations: 0 / 0.7334 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2564, allocations: 7.984 kB / 0.7335 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.2565, allocations: 91.28 kB / 0.7335 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2565, allocations: 0 / 0.7335 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004417/0.257, allocations: 39.98 kB / 0.7336 GB, free: 2.109 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.001165/0.2581, allocations: 0.8028 MB / 0.7344 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.2586, allocations: 83.95 kB / 0.7344 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2586, allocations: 0 / 0.7344 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.2588, allocations: 35.92 kB / 0.7345 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.259, allocations: 11.94 kB / 0.7345 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2601, allocations: 0.7168 MB / 0.7352 GB, free: 396 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.2604, allocations: 0.6965 MB / 0.7359 GB, free: 15.66 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.63e-05/0.2605, allocations: 4.188 kB / 0.7359 GB, free: 15.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.2606, allocations: 23.38 kB / 0.7359 GB, free: 15.64 MB / 0.573 GB Notification: Performance of SimCode: time 1.683e-06/0.2606, allocations: 0 / 0.7359 GB, free: 15.64 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.2828, allocations: 2.314 MB / 0.7382 GB, free: 13.43 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.2832, allocations: 244.3 kB / 0.7384 GB, free: 13.18 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/2.859, allocations: 0 / 0.7384 GB, free: 13.18 MB / 0.573 GB