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 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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.01155/0.01155, 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.001198/0.001198, 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.296/2.296, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.481/2.481, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005143/0.0005142, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7286, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/0.999, allocations: 126.5 MB / 0.807 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.9994, allocations: 91.92 kB / 0.8071 GB, free: 15.6 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.01467/1.014, allocations: 2.943 MB / 0.8099 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.014, allocations: 0 / 0.8099 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.014, allocations: 0 / 0.8099 GB, free: 12.65 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.0007832/1.015, allocations: 428.8 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.015, allocations: 8.031 kB / 0.8104 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/1.015, allocations: 38.56 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/1.015, allocations: 11.86 kB / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/1.015, allocations: 174.9 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/1.015, allocations: 4 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/1.015, allocations: 8 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/1.016, allocations: 69.64 kB / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.016, allocations: 0 / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.016, allocations: 0 / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.016, allocations: 0 / 0.8106 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/1.016, allocations: 47.97 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/1.017, allocations: 320.7 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/1.017, allocations: 50.56 kB / 0.811 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/1.017, allocations: 4.062 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/1.018, allocations: 79.38 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.276e-06/1.018, allocations: 0 / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006533/1.018, allocations: 157.7 kB / 0.8113 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/1.018, allocations: 55.39 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.018, allocations: 109 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/1.018, allocations: 29.7 kB / 0.8115 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/1.019, allocations: 88.27 kB / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/1.019, allocations: 27.86 kB / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.019, allocations: 0 / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.019, allocations: 318.8 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/1.019, allocations: 27.98 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/1.019, allocations: 59.84 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/1.019, allocations: 39.92 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.019, allocations: 0 / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004252/1.02, allocations: 121.4 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.02, allocations: 12.06 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.02, allocations: 0 / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.02, allocations: 0 / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/1.02, allocations: 15.98 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/1.02, allocations: 8.016 kB / 0.8122 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/1.02, allocations: 11.98 kB / 0.8122 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/1.02, allocations: 7.938 kB / 0.8122 GB, free: 10.12 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 () * 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.0001372/1.02, allocations: 121.8 kB / 0.8123 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/1.02, allocations: 3.906 kB / 0.8123 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/1.02, allocations: 12.38 kB / 0.8123 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.02, allocations: 0 / 0.8123 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.02, allocations: 3.938 kB / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/1.02, allocations: 7.938 kB / 0.8123 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/1.021, allocations: 386.4 kB / 0.8127 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.021, allocations: 3.984 kB / 0.8127 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/1.021, allocations: 4 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.021, allocations: 0 / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/1.021, allocations: 0 / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/1.021, allocations: 3.953 kB / 0.8127 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.021, allocations: 0 / 0.8127 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/1.022, allocations: 215.5 kB / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/1.022, allocations: 85.02 kB / 0.813 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/1.022, allocations: 0 / 0.813 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/1.022, allocations: 7.984 kB / 0.813 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/1.022, allocations: 15.89 kB / 0.813 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/1.022, allocations: 3.984 kB / 0.813 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.718e-05/1.022, allocations: 95.44 kB / 0.8131 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.022, allocations: 4 kB / 0.8131 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004522/1.023, allocations: 55.86 kB / 0.8132 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.001191/1.024, allocations: 0.8138 MB / 0.8139 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004287/1.024, allocations: 79.89 kB / 0.814 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.024, allocations: 8 kB / 0.814 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/1.025, allocations: 47.91 kB / 0.8141 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/1.025, allocations: 10.39 kB / 0.8141 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/1.026, allocations: 0.8768 MB / 0.8149 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.026, allocations: 0.6926 MB / 0.8156 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.959e-05/1.026, allocations: 4.188 kB / 0.8156 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/1.027, allocations: 23.42 kB / 0.8156 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/1.027, allocations: 0 / 0.8156 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/1.054, allocations: 2.495 MB / 0.8181 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003792/1.054, allocations: 239.3 kB / 0.8183 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.757, allocations: 0 / 0.8183 GB, free: 3.727 MB / 0.6355 GB