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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.28/4.28, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.158e-05, allocations: 3.953 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2257, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.5384, allocations: 126.4 MB / 0.7582 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004775/0.539, allocations: 79.95 kB / 0.7582 GB, free: 3.25 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.02088/0.5599, allocations: 2.922 MB / 0.7611 GB, free: 332 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5599, allocations: 0 / 0.7611 GB, free: 332 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.56, allocations: 0 / 0.7611 GB, free: 332 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.0009301/0.5609, allocations: 421.6 kB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.561, allocations: 8.031 kB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.437e-05/0.5611, allocations: 42.55 kB / 0.7615 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.5612, allocations: 7.953 kB / 0.7615 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.5614, allocations: 174.9 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.5614, allocations: 0 / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.5615, allocations: 8 kB / 0.7617 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.5617, allocations: 57.67 kB / 0.7618 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5618, allocations: 0 / 0.7618 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.5618, allocations: 4 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5618, allocations: 4 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.562, allocations: 27.92 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.5632, allocations: 312.8 kB / 0.7621 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.5634, allocations: 46.52 kB / 0.7621 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.5635, allocations: 24.97 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.5636, allocations: 4 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.5638, allocations: 75.39 kB / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.897e-06/0.5639, allocations: 0 / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005229/0.5644, allocations: 101.5 kB / 0.7623 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.5645, allocations: 55.41 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.5647, allocations: 113 kB / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.5648, allocations: 29.7 kB / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.5649, allocations: 96.17 kB / 0.7626 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.565, allocations: 7.906 kB / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.565, allocations: 0 / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5652, allocations: 322.8 kB / 0.7629 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.5653, allocations: 16 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.5655, allocations: 54.86 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.5657, allocations: 27.98 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5657, allocations: 0 / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004101/0.5661, allocations: 97.52 kB / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.5662, allocations: 4 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5662, allocations: 0 / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5662, allocations: 4 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.5665, allocations: 15.94 kB / 0.7632 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5665, allocations: 4.062 kB / 0.7632 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.5667, allocations: 15.91 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.5668, allocations: 7.984 kB / 0.7632 GB, free: 13.94 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.0001391/0.5669, allocations: 108.9 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.567, allocations: 4 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.5671, allocations: 16.56 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5671, allocations: 0 / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.5671, allocations: 7.953 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.5672, allocations: 0 / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.568, allocations: 370.4 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.568, allocations: 0 / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5682, allocations: 11.92 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.5682, allocations: 4 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.5682, allocations: 3.953 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5683, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5683, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.5688, allocations: 199.7 kB / 0.7639 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.5689, allocations: 81.02 kB / 0.7639 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.5689, allocations: 4 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.5692, allocations: 7.953 kB / 0.764 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.5693, allocations: 7.984 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.5693, allocations: 4 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.903e-05/0.5694, allocations: 91.27 kB / 0.7641 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.212e-06/0.5694, allocations: 8 kB / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007165/0.5702, allocations: 55.81 kB / 0.7641 GB, free: 12.87 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.001409/0.5716, allocations: 0.7873 MB / 0.7649 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.572, allocations: 51.94 kB / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.572, allocations: 0 / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.5722, allocations: 35.92 kB / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.5726, allocations: 7.953 kB / 0.765 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.5735, allocations: 155 kB / 0.7651 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.5739, allocations: 0.6948 MB / 0.7658 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.323e-05/0.574, allocations: 12.16 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.5741, allocations: 19.44 kB / 0.7658 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.743e-06/0.5742, allocations: 0 / 0.7658 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.603, allocations: 2.518 MB / 0.7683 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/0.6034, allocations: 214.7 kB / 0.7685 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.082, allocations: 3.938 kB / 0.7685 GB, free: 8.359 MB / 0.6511 GB