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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01685/0.01685, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002018/0.002017, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.263/2.263, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.34/2.34, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005064, allocations: 12 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6968, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/1.004, allocations: 126.5 MB / 0.807 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.004, allocations: 87.88 kB / 0.807 GB, free: 15.57 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.01436/1.019, allocations: 2.935 MB / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/1.019, allocations: 0 / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.808e-06/1.019, allocations: 8 kB / 0.8099 GB, free: 12.62 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.0007375/1.02, allocations: 428.8 kB / 0.8103 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.02, allocations: 8.031 kB / 0.8103 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/1.02, allocations: 34.5 kB / 0.8104 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/1.02, allocations: 15.84 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.02, allocations: 174.9 kB / 0.8106 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/1.02, allocations: 7.984 kB / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/1.02, allocations: 4 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/1.02, allocations: 73.66 kB / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.02, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.02, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.02, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/1.021, allocations: 43.97 kB / 0.8107 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008445/1.021, allocations: 324.7 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/1.022, allocations: 46.56 kB / 0.811 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/1.022, allocations: 4 kB / 0.811 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/1.022, allocations: 75.5 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.305e-06/1.022, allocations: 0 / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0007005/1.023, allocations: 157.4 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.023, allocations: 55.47 kB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/1.023, allocations: 116.9 kB / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.023, allocations: 25.7 kB / 0.8114 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/1.023, allocations: 96.25 kB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/1.023, allocations: 15.8 kB / 0.8116 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/1.023, allocations: 4 kB / 0.8116 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.023, allocations: 318.8 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/1.023, allocations: 27.98 kB / 0.8119 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/1.024, allocations: 50.55 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/1.024, allocations: 36.3 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.024, allocations: 4 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004149/1.024, allocations: 121.4 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.024, allocations: 8 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.024, allocations: 0 / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.024, allocations: 0 / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/1.024, allocations: 8 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.024, allocations: 16 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.025, allocations: 8 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/1.025, allocations: 4 kB / 0.8121 GB, free: 10.12 MB / 0.6355 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 () * Number of clocked 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.0001237/1.025, allocations: 113.8 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/1.025, allocations: 7.906 kB / 0.8122 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/1.025, allocations: 12.36 kB / 0.8123 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.025, allocations: 3.938 kB / 0.8123 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.025, allocations: 4 kB / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.025, allocations: 7.953 kB / 0.8123 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/1.026, allocations: 382.4 kB / 0.8126 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.026, allocations: 3.938 kB / 0.8126 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/1.026, allocations: 4 kB / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.026, allocations: 3.938 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.026, allocations: 15.98 kB / 0.8127 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.026, allocations: 3.953 kB / 0.8127 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.026, allocations: 3.938 kB / 0.8127 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/1.026, allocations: 207.5 kB / 0.8129 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/1.026, allocations: 81.02 kB / 0.8129 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/1.026, allocations: 15.98 kB / 0.813 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.026, allocations: 4 kB / 0.813 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/1.027, allocations: 7.938 kB / 0.813 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.027, allocations: 4 kB / 0.813 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.228e-05/1.027, allocations: 91.92 kB / 0.8131 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.027, allocations: 0 / 0.8131 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004452/1.027, allocations: 51.88 kB / 0.8131 GB, free: 9 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 () * Number of clocked 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.001184/1.028, allocations: 0.8206 MB / 0.8139 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003869/1.029, allocations: 88.19 kB / 0.814 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.029, allocations: 0 / 0.814 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.029, allocations: 31.98 kB / 0.814 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/1.029, allocations: 11.95 kB / 0.814 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/1.03, allocations: 0.7364 MB / 0.8148 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.031, allocations: 0.6892 MB / 0.8154 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.321e-05/1.031, allocations: 4.188 kB / 0.8154 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/1.031, allocations: 23.42 kB / 0.8155 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/1.031, allocations: 0 / 0.8155 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/1.059, allocations: 2.495 MB / 0.8179 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/1.059, allocations: 236.3 kB / 0.8181 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/3.741, allocations: 8 kB / 0.8181 GB, free: 3.875 MB / 0.6355 GB