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.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.114/4.114, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.748e-05/4.784e-05, allocations: 8.203 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2421, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.4816, allocations: 126.4 MB / 0.7582 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.4819, allocations: 79.95 kB / 0.7582 GB, free: 3.234 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.01424/0.4962, allocations: 2.926 MB / 0.7611 GB, free: 312 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4962, allocations: 0 / 0.7611 GB, free: 312 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4962, allocations: 0 / 0.7611 GB, free: 312 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.0007442/0.497, allocations: 419.9 kB / 0.7615 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4971, allocations: 12.03 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.4971, allocations: 34.56 kB / 0.7615 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.4972, allocations: 7.938 kB / 0.7615 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.4974, allocations: 171 kB / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.4975, allocations: 8 kB / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4975, allocations: 4 kB / 0.7617 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.4977, allocations: 57.67 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4977, allocations: 0 / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.4978, allocations: 3.984 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4978, allocations: 0 / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.4979, allocations: 39.92 kB / 0.7618 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.4988, allocations: 304.8 kB / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.4989, allocations: 42.58 kB / 0.7621 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.499, allocations: 28.98 kB / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4991, allocations: 0 / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.4993, allocations: 75.27 kB / 0.7622 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.4993, allocations: 0 / 0.7622 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003511/0.4996, allocations: 105.6 kB / 0.7623 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.4997, allocations: 59.39 kB / 0.7624 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4999, allocations: 101 kB / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.4999, allocations: 33.7 kB / 0.7625 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.5, allocations: 100.2 kB / 0.7626 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.5, allocations: 11.91 kB / 0.7626 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.5, allocations: 0 / 0.7626 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5002, allocations: 322.8 kB / 0.7629 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.5003, allocations: 20 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/0.5004, allocations: 38.52 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.066e-05/0.5005, allocations: 23.98 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5005, allocations: 4 kB / 0.763 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000267/0.5008, allocations: 101.5 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5008, allocations: 4 kB / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5008, allocations: 0 / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5009, allocations: 7.938 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.5011, allocations: 19.94 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5011, allocations: 0 / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5012, allocations: 11.97 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.5012, allocations: 4 kB / 0.7632 GB, free: 13.93 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.0001095/0.5014, allocations: 116.9 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.5014, allocations: 4 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.5015, allocations: 12.62 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5015, allocations: 4 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5015, allocations: 3.953 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5015, allocations: 3.938 kB / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.5021, allocations: 370.4 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5021, allocations: 0 / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.5022, allocations: 4 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.5022, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.5023, allocations: 11.94 kB / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5023, allocations: 0 / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5023, allocations: 240 / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.5026, allocations: 195.5 kB / 0.7639 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.5027, allocations: 81.02 kB / 0.7639 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.5027, allocations: 3.984 kB / 0.7639 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5029, allocations: 11.95 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.5029, allocations: 7.984 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.503, allocations: 4 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.503, allocations: 91.88 kB / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5031, allocations: 3.938 kB / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004392/0.5035, allocations: 55.86 kB / 0.7641 GB, free: 12.86 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.0009964/0.5045, allocations: 0.7921 MB / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.5048, allocations: 59.92 kB / 0.7649 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5048, allocations: 0 / 0.7649 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.5049, allocations: 35.92 kB / 0.765 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.5052, allocations: 11.89 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.5058, allocations: 156 kB / 0.7651 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5061, allocations: 0.6926 MB / 0.7658 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.5062, allocations: 8.312 kB / 0.7658 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.5063, allocations: 19.42 kB / 0.7658 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.5063, allocations: 0 / 0.7658 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.5338, allocations: 2.516 MB / 0.7683 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003719/0.5343, allocations: 206.7 kB / 0.7685 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.105, allocations: 4.062 kB / 0.7685 GB, free: 8.348 MB / 0.6511 GB