Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.476/4.476, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.952e-05, allocations: 4.547 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2421/0.463, allocations: 126.4 MB / 0.7582 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.4634, allocations: 79.95 kB / 0.7582 GB, free: 3.223 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.478, allocations: 2.918 MB / 0.7611 GB, free: 308 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.478, allocations: 0 / 0.7611 GB, free: 308 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.478, allocations: 4 kB / 0.7611 GB, free: 304 kB / 0.6355 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.0007678/0.4788, allocations: 423.9 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4789, allocations: 8.031 kB / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.036e-05/0.479, allocations: 38.55 kB / 0.7615 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.4791, allocations: 7.953 kB / 0.7615 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.4792, allocations: 174.9 kB / 0.7617 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.4793, allocations: 4 kB / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.4793, allocations: 4 kB / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.4796, allocations: 61.67 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4796, allocations: 4 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4796, allocations: 0 / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4796, allocations: 3.938 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4797, allocations: 23.98 kB / 0.7618 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.4806, allocations: 312.8 kB / 0.7621 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4807, allocations: 42.58 kB / 0.7621 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.4808, allocations: 24.98 kB / 0.7622 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.4809, allocations: 4.062 kB / 0.7622 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.4811, allocations: 79.31 kB / 0.7623 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/0.4811, allocations: 3.938 kB / 0.7623 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000349/0.4815, allocations: 97.53 kB / 0.7623 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.4815, allocations: 63.39 kB / 0.7624 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4817, allocations: 105 kB / 0.7625 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4817, allocations: 33.69 kB / 0.7625 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.4818, allocations: 96.17 kB / 0.7626 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.4818, allocations: 15.89 kB / 0.7626 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.4819, allocations: 0 / 0.7626 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.482, allocations: 318.8 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.4821, allocations: 19.94 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.4822, allocations: 46.56 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.4823, allocations: 20 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4823, allocations: 0 / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002693/0.4826, allocations: 97.52 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4826, allocations: 8 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4826, allocations: 0 / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4827, allocations: 0 / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.4829, allocations: 24 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4829, allocations: 0 / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.483, allocations: 11.91 kB / 0.7632 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.483, allocations: 4 kB / 0.7632 GB, free: 13.92 MB / 0.6511 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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.0001145/0.4832, allocations: 116.9 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.4832, allocations: 4 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.4832, allocations: 4.625 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4833, allocations: 4 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4833, allocations: 3.953 kB / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4833, allocations: 0 / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.4839, allocations: 374.3 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4839, allocations: 4 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.484, allocations: 15.91 kB / 0.7637 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.484, allocations: 0 / 0.7637 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.484, allocations: 7.953 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4841, allocations: 4 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4841, allocations: 4 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.4844, allocations: 183.5 kB / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.4845, allocations: 89 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4845, allocations: 0 / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4846, allocations: 7.953 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.4847, allocations: 7.984 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.4847, allocations: 0 / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000111/0.4849, allocations: 103.2 kB / 0.7641 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4849, allocations: 0 / 0.7641 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000439/0.4853, allocations: 51.86 kB / 0.7641 GB, free: 12.85 MB / 0.6511 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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.001063/0.4864, allocations: 0.8037 MB / 0.7649 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4867, allocations: 55.94 kB / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4867, allocations: 0 / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4868, allocations: 31.92 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.487, allocations: 11.95 kB / 0.765 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.4877, allocations: 151 kB / 0.7651 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.488, allocations: 0.6928 MB / 0.7658 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.4881, allocations: 4.188 kB / 0.7658 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.4882, allocations: 23.42 kB / 0.7658 GB, free: 11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.4882, allocations: 0 / 0.7658 GB, free: 11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.5172, allocations: 2.508 MB / 0.7683 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/0.5176, allocations: 205.7 kB / 0.7685 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/2.996, allocations: 0 / 0.7685 GB, free: 8.348 MB / 0.6511 GB