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.Herkel2008WindowsCompletelyOpen.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01507/0.01507, allocations: 110.1 kB / 15.05 MB, free: 5.965 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.001637/0.001637, allocations: 179.4 kB / 15.94 MB, free: 5.93 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 1.891/1.891, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.347/2.347, allocations: 236.2 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007543/0.0007544, allocations: 15.98 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.58, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.8143, allocations: 126.5 MB / 0.8069 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.8147, allocations: 83.95 kB / 0.8069 GB, free: 15.75 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.01313/0.8278, allocations: 2.952 MB / 0.8098 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.469e-06/0.8279, allocations: 0 / 0.8098 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.292e-06/0.8279, allocations: 0 / 0.8098 GB, free: 12.79 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.0006395/0.8286, allocations: 416.8 kB / 0.8102 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8286, allocations: 8.031 kB / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.8287, allocations: 11.86 kB / 0.8102 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.8288, allocations: 175 kB / 0.8104 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.8289, allocations: 11.94 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.8289, allocations: 4 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.8292, allocations: 65.66 kB / 0.8105 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8292, allocations: 4 kB / 0.8105 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8292, allocations: 4 kB / 0.8105 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-06/0.8292, allocations: 3.938 kB / 0.8105 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.8294, allocations: 43.97 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/0.8301, allocations: 315.2 kB / 0.8108 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.8303, allocations: 54.5 kB / 0.8109 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.8304, allocations: 0 / 0.8109 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.8306, allocations: 83.56 kB / 0.811 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.516e-06/0.8306, allocations: 0 / 0.811 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005333/0.8312, allocations: 157.4 kB / 0.8111 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.8312, allocations: 51.41 kB / 0.8112 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.8314, allocations: 120.9 kB / 0.8113 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.8314, allocations: 25.7 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.8315, allocations: 88.27 kB / 0.8114 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.8315, allocations: 23.78 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-06/0.8316, allocations: 0 / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.8317, allocations: 318.8 kB / 0.8117 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.8319, allocations: 31.97 kB / 0.8118 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.832, allocations: 51 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.8322, allocations: 31.98 kB / 0.8118 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.02e-06/0.8322, allocations: 0 / 0.8118 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003617/0.8326, allocations: 129.8 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.8326, allocations: 8 kB / 0.812 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.119e-06/0.8326, allocations: 0 / 0.812 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.8326, allocations: 0 / 0.812 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.8328, allocations: 15.92 kB / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8328, allocations: 7.953 kB / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.8329, allocations: 8 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.8329, allocations: 4 kB / 0.812 GB, free: 10.34 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.0001216/0.8331, allocations: 117.9 kB / 0.8121 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.8331, allocations: 11.89 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.8332, allocations: 8.375 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.8332, allocations: 0 / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.825e-06/0.8332, allocations: 4 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.439e-06/0.8332, allocations: 3.953 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.8339, allocations: 382.5 kB / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-06/0.8339, allocations: 0 / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.834, allocations: 7.984 kB / 0.8125 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.834, allocations: 3.984 kB / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.834, allocations: 7.938 kB / 0.8125 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.085e-06/0.834, allocations: 3.953 kB / 0.8125 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.149e-06/0.834, allocations: 0 / 0.8125 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.8345, allocations: 219.4 kB / 0.8127 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.8346, allocations: 85 kB / 0.8128 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.8346, allocations: 7.938 kB / 0.8128 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.8347, allocations: 4 kB / 0.8128 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.8348, allocations: 11.94 kB / 0.8128 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.8348, allocations: 8 kB / 0.8128 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.083e-05/0.8349, allocations: 95.42 kB / 0.8129 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.41e-07/0.8349, allocations: 0 / 0.8129 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005201/0.8355, allocations: 47.94 kB / 0.813 GB, free: 9.219 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.0004556/0.8359, allocations: 177.2 kB / 0.8132 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.8363, allocations: 79.89 kB / 0.8132 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.859e-06/0.8363, allocations: 0 / 0.8132 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.8364, allocations: 39.97 kB / 0.8133 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.8367, allocations: 4 kB / 0.8133 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.8372, allocations: 205.7 kB / 0.8135 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.8375, allocations: 0.6887 MB / 0.8141 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.306e-05/0.8376, allocations: 12.17 kB / 0.8142 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.8377, allocations: 11.44 kB / 0.8142 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of SimCode: time 1.418e-06/0.8377, allocations: 0 / 0.8142 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of Templates: time 0.00542/0.8431, allocations: 1.525 MB / 0.8157 GB, free: 6.438 MB / 0.6355 GB