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.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.01063/0.01063, allocations: 106.2 kB / 15.05 MB, free: 5.984 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.001233/0.001233, allocations: 186 kB / 15.94 MB, free: 5.941 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.152/2.152, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.433/2.433, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.7048, allocations: 98.7 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.9412, allocations: 126.8 MB / 0.8073 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.9416, allocations: 87.89 kB / 0.8073 GB, free: 15.41 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.02046/0.9621, allocations: 3.539 MB / 0.8108 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9622, allocations: 0 / 0.8108 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.9622, allocations: 8 kB / 0.8108 GB, free: 11.85 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001288/0.9635, allocations: 490.5 kB / 0.8113 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.9636, allocations: 12.03 kB / 0.8113 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.762e-05/0.9637, allocations: 30.56 kB / 0.8113 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.9638, allocations: 11.86 kB / 0.8113 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.964, allocations: 181.7 kB / 0.8115 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.9641, allocations: 8 kB / 0.8115 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.9642, allocations: 7.938 kB / 0.8115 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.9648, allocations: 101.6 kB / 0.8116 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.9648, allocations: 3.938 kB / 0.8116 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.9649, allocations: 11.97 kB / 0.8116 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.9649, allocations: 0 / 0.8116 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.9655, allocations: 75.91 kB / 0.8117 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.9675, allocations: 364.8 kB / 0.812 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.968, allocations: 78.48 kB / 0.8121 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.9681, allocations: 4 kB / 0.8121 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005384/0.9686, allocations: 103.3 kB / 0.8122 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.378e-06/0.9686, allocations: 0 / 0.8122 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.001468/0.9701, allocations: 237.3 kB / 0.8124 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.9702, allocations: 55.41 kB / 0.8125 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.9705, allocations: 130.8 kB / 0.8126 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.9705, allocations: 33.64 kB / 0.8127 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.9707, allocations: 100.4 kB / 0.8127 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.9707, allocations: 23.66 kB / 0.8128 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.9708, allocations: 3.938 kB / 0.8128 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.971, allocations: 322.8 kB / 0.8131 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.9713, allocations: 47.97 kB / 0.8131 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.9717, allocations: 72.27 kB / 0.8132 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.9722, allocations: 55.98 kB / 0.8132 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9722, allocations: 0 / 0.8132 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009698/0.9732, allocations: 161.4 kB / 0.8134 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.9732, allocations: 12.09 kB / 0.8134 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9733, allocations: 64 / 0.8134 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/0.9733, allocations: 11.95 kB / 0.8134 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.9737, allocations: 19.98 kB / 0.8134 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.9737, allocations: 11.92 kB / 0.8135 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.974, allocations: 15.89 kB / 0.8135 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.9741, allocations: 4.109 kB / 0.8135 GB, free: 8.852 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002154/0.9743, allocations: 125.8 kB / 0.8136 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.9744, allocations: 15.89 kB / 0.8136 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.9745, allocations: 8.719 kB / 0.8136 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.9745, allocations: 4 kB / 0.8136 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.9745, allocations: 3.953 kB / 0.8136 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.9746, allocations: 0 / 0.8136 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.9761, allocations: 474.5 kB / 0.8141 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.9762, allocations: 0 / 0.8141 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.9764, allocations: 15.92 kB / 0.8141 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.9764, allocations: 0 / 0.8141 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.9765, allocations: 7.953 kB / 0.8141 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.9765, allocations: 0 / 0.8141 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.9765, allocations: 3.984 kB / 0.8141 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.9777, allocations: 275.3 kB / 0.8144 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.9778, allocations: 89.11 kB / 0.8145 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.9779, allocations: 0 / 0.8145 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.9782, allocations: 23.88 kB / 0.8145 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.9783, allocations: 11.98 kB / 0.8145 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.9784, allocations: 4 kB / 0.8145 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001561/0.9786, allocations: 106.2 kB / 0.8146 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.41e-07/0.9786, allocations: 4 kB / 0.8146 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007703/0.9794, allocations: 51.94 kB / 0.8146 GB, free: 7.551 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002385/0.9818, allocations: 0.889 MB / 0.8155 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.9829, allocations: 119.8 kB / 0.8156 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.983, allocations: 0 / 0.8156 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.9835, allocations: 68.09 kB / 0.8157 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.984, allocations: 17.83 kB / 0.8157 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.9861, allocations: 1.096 MB / 0.8168 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.9866, allocations: 0.7004 MB / 0.8175 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.9868, allocations: 12.23 kB / 0.8175 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.9869, allocations: 31.42 kB / 0.8175 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.9869, allocations: 0 / 0.8175 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/1.017, allocations: 3.18 MB / 0.8206 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/1.017, allocations: 239.4 kB / 0.8208 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.787, allocations: 0 / 0.8208 GB, free: 1.195 MB / 0.6355 GB