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.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008966/0.008966, allocations: 109.7 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.001092/0.001092, allocations: 180.3 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.813/1.813, 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.393/2.393, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004662, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.6464, allocations: 98.7 MB / 0.6833 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.8634, allocations: 126.5 MB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.8637, allocations: 83.94 kB / 0.8069 GB, free: 15.71 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.01278/0.8765, allocations: 2.944 MB / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.512e-06/0.8766, allocations: 4 kB / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.8766, allocations: 0 / 0.8098 GB, free: 12.75 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.0006087/0.8772, allocations: 420.8 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8772, allocations: 8.031 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.8773, allocations: 11.86 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.8775, allocations: 171 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.8775, allocations: 8 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.8775, allocations: 11.92 kB / 0.8104 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.8778, allocations: 73.62 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-06/0.8778, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8778, allocations: 4 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8778, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.878, allocations: 47.97 kB / 0.8105 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.8787, allocations: 311.2 kB / 0.8108 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.8789, allocations: 58.5 kB / 0.8109 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.879, allocations: 0 / 0.8109 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.8792, allocations: 75.5 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.468e-06/0.8792, allocations: 4 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005156/0.8797, allocations: 157.5 kB / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.8798, allocations: 51.41 kB / 0.8112 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.8799, allocations: 120.8 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.88, allocations: 29.7 kB / 0.8113 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.88, allocations: 92.27 kB / 0.8114 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.8801, allocations: 15.81 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-06/0.8801, allocations: 0 / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8803, allocations: 322.8 kB / 0.8117 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.8804, allocations: 27.98 kB / 0.8118 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.8805, allocations: 54.55 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.8807, allocations: 31.98 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8807, allocations: 0 / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003514/0.8811, allocations: 121.5 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8811, allocations: 4 kB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.355e-06/0.8811, allocations: 7.984 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8811, allocations: 0 / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.8813, allocations: 11.94 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.8813, allocations: 7.953 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.8814, allocations: 7.984 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.8814, allocations: 8 kB / 0.812 GB, free: 10.29 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.0001197/0.8815, allocations: 117.9 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.8816, allocations: 7.906 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.8816, allocations: 12.36 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-06/0.8816, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-06/0.8816, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8817, allocations: 3.953 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.8823, allocations: 390.4 kB / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-06/0.8823, allocations: 0 / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.8824, allocations: 4 kB / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.341e-06/0.8824, allocations: 0 / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.8824, allocations: 0 / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.439e-06/0.8824, allocations: 15.88 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-06/0.8825, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.8829, allocations: 223.8 kB / 0.8127 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.8829, allocations: 81.02 kB / 0.8128 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.883, allocations: 0 / 0.8128 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.8831, allocations: 7.984 kB / 0.8128 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.8832, allocations: 11.95 kB / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.8832, allocations: 11.98 kB / 0.8128 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.8833, allocations: 95.27 kB / 0.8129 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.47e-07/0.8833, allocations: 0 / 0.8129 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004262/0.8837, allocations: 47.94 kB / 0.813 GB, free: 9.172 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.0004275/0.8842, allocations: 175.5 kB / 0.8131 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.8845, allocations: 79.89 kB / 0.8132 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.8845, allocations: 0 / 0.8132 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.8846, allocations: 35.98 kB / 0.8133 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.8849, allocations: 11.98 kB / 0.8133 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.8854, allocations: 205.2 kB / 0.8135 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.8857, allocations: 0.6887 MB / 0.8141 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.8858, allocations: 4.188 kB / 0.8141 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.8858, allocations: 11.44 kB / 0.8142 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of SimCode: time 1.346e-06/0.8859, allocations: 4 kB / 0.8142 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of Templates: time 0.005229/0.8911, allocations: 1.526 MB / 0.8156 GB, free: 6.395 MB / 0.6355 GB