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.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.464/4.464, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.663e-05, allocations: 5.172 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.4978, allocations: 126.4 MB / 0.7582 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/0.4983, allocations: 83.95 kB / 0.7582 GB, free: 3.254 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.01806/0.5164, allocations: 2.929 MB / 0.7611 GB, free: 328 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5164, allocations: 0 / 0.7611 GB, free: 328 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.5164, allocations: 0 / 0.7611 GB, free: 328 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.0008146/0.5173, allocations: 419.9 kB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.5174, allocations: 12.02 kB / 0.7615 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.901e-05/0.5174, allocations: 38.56 kB / 0.7615 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.5175, allocations: 7.953 kB / 0.7615 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.5177, allocations: 167 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.5177, allocations: 0 / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.5178, allocations: 4 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.518, allocations: 65.67 kB / 0.7618 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5181, allocations: 0 / 0.7618 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.5181, allocations: 3.984 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5181, allocations: 3.938 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.5183, allocations: 27.94 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5193, allocations: 316.8 kB / 0.7621 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.5195, allocations: 38.58 kB / 0.7621 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.5196, allocations: 28.97 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.5197, allocations: 4 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.5199, allocations: 71.33 kB / 0.7622 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.775e-06/0.5199, allocations: 3.938 kB / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004377/0.5204, allocations: 101.5 kB / 0.7623 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.5205, allocations: 59.47 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.5206, allocations: 113 kB / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.5207, allocations: 25.7 kB / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.5208, allocations: 96.17 kB / 0.7626 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.5209, allocations: 11.89 kB / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.5209, allocations: 4 kB / 0.7626 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5211, allocations: 318.8 kB / 0.7629 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.5212, allocations: 16 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.5213, allocations: 46.5 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.5215, allocations: 27.98 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5215, allocations: 0 / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003529/0.5219, allocations: 93.53 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5219, allocations: 4 kB / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5219, allocations: 0 / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.522, allocations: 8.062 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.5222, allocations: 15.94 kB / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5222, allocations: 160 / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.5224, allocations: 19.89 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5224, allocations: 0 / 0.7632 GB, free: 13.95 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.0001299/0.5226, allocations: 112.9 kB / 0.7633 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.5226, allocations: 4 kB / 0.7633 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.5227, allocations: 8.625 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5227, allocations: 4 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5227, allocations: 3.953 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5227, allocations: 3.984 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.5235, allocations: 366.4 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.5235, allocations: 3.984 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.5236, allocations: 11.92 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.5236, allocations: 8 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5237, allocations: 7.953 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5237, allocations: 4 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5237, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.5241, allocations: 195.5 kB / 0.7639 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.5242, allocations: 84.95 kB / 0.7639 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.5243, allocations: 4 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.5245, allocations: 7.953 kB / 0.764 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.5246, allocations: 3.984 kB / 0.764 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.5246, allocations: 8 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.5247, allocations: 95.92 kB / 0.7641 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.31e-07/0.5248, allocations: 0 / 0.7641 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006885/0.5255, allocations: 55.88 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.001339/0.5268, allocations: 0.7881 MB / 0.7649 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.5271, allocations: 59.92 kB / 0.7649 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5272, allocations: 0 / 0.7649 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5273, allocations: 31.98 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.0003296/0.5277, allocations: 11.89 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.000864/0.5286, allocations: 159.7 kB / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.529, allocations: 0.6887 MB / 0.7658 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.799e-05/0.5291, allocations: 8.172 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.5292, allocations: 19.44 kB / 0.7658 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/0.5292, allocations: 0 / 0.7658 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/0.5733, allocations: 2.513 MB / 0.7683 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.5736, allocations: 216.9 kB / 0.7685 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.17, allocations: 4 kB / 0.7685 GB, free: 8.367 MB / 0.6511 GB