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.Haldi2008WindowsTIn.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.295/4.295, allocations: 433.2 MB / 440.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.452e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6665, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.9009, allocations: 125.8 MB / 0.7517 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.9013, allocations: 83.95 kB / 0.7518 GB, free: 1.727 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01379/0.9151, allocations: 2.912 MB / 0.7546 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9152, allocations: 0 / 0.7546 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.9152, allocations: 4 kB / 0.7546 GB, free: 14.81 MB / 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.0007275/0.9159, allocations: 407.9 kB / 0.755 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.916, allocations: 8.031 kB / 0.755 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.9161, allocations: 7.953 kB / 0.755 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.9162, allocations: 182.8 kB / 0.7552 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.9163, allocations: 4 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.9163, allocations: 0 / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001101/0.9164, allocations: 28 kB / 0.7552 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.9166, allocations: 57.61 kB / 0.7553 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9166, allocations: 0 / 0.7553 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.9166, allocations: 4 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.9166, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.9174, allocations: 293.4 kB / 0.7556 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.9176, allocations: 34.58 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.9177, allocations: 31.23 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.9177, allocations: 0 / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.9179, allocations: 67.33 kB / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.9179, allocations: 0 / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003573/0.9182, allocations: 105.6 kB / 0.7558 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.9183, allocations: 59.41 kB / 0.7559 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.9184, allocations: 108.9 kB / 0.756 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.9185, allocations: 29.7 kB / 0.756 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.9185, allocations: 92.23 kB / 0.7561 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.9186, allocations: 7.906 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.9186, allocations: 0 / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9187, allocations: 318.8 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.9188, allocations: 20 kB / 0.7564 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.9189, allocations: 47.42 kB / 0.7565 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.919, allocations: 23.92 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.919, allocations: 3.938 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002612/0.9193, allocations: 97.52 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9193, allocations: 8 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9194, allocations: 3.938 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9194, allocations: 4.062 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.9196, allocations: 15.98 kB / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.9196, allocations: 0 / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.9197, allocations: 15.8 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.9198, allocations: 4 kB / 0.7566 GB, free: 12.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001009/0.9199, allocations: 112.9 kB / 0.7567 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002562/0.9201, allocations: 89.67 kB / 0.7568 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.9202, allocations: 7.906 kB / 0.7568 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.9202, allocations: 12.61 kB / 0.7568 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.9203, allocations: 3.953 kB / 0.7569 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9203, allocations: 0 / 0.7569 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.9203, allocations: 0 / 0.7569 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.9208, allocations: 339.1 kB / 0.7572 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9208, allocations: 0 / 0.7572 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.9209, allocations: 7.984 kB / 0.7572 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.9209, allocations: 0 / 0.7572 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.921, allocations: 7.953 kB / 0.7572 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.921, allocations: 0 / 0.7572 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.921, allocations: 0 / 0.7572 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.9213, allocations: 199.4 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.9214, allocations: 81.02 kB / 0.7575 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.9214, allocations: 0 / 0.7575 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.9216, allocations: 7.953 kB / 0.7575 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.9216, allocations: 15.92 kB / 0.7575 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.9217, allocations: 4 kB / 0.7575 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.9217, allocations: 91.27 kB / 0.7576 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9217, allocations: 0 / 0.7576 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004668/0.9222, allocations: 43.94 kB / 0.7576 GB, free: 11.45 MB / 0.6355 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.0009712/0.9232, allocations: 0.8025 MB / 0.7584 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.9234, allocations: 55.92 kB / 0.7584 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9235, allocations: 4 kB / 0.7585 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/0.9236, allocations: 23.94 kB / 0.7585 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.9239, allocations: 12.08 kB / 0.7585 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.9245, allocations: 146.1 kB / 0.7586 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.9248, allocations: 0.6924 MB / 0.7593 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.464e-05/0.9249, allocations: 8.172 kB / 0.7593 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.925, allocations: 19.44 kB / 0.7593 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.925, allocations: 0 / 0.7593 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.9665, allocations: 2.189 MB / 0.7615 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003318/0.9669, allocations: 191.6 kB / 0.7617 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.529, allocations: 4 kB / 0.7617 GB, free: 7.227 MB / 0.6355 GB