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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004172/0.004176, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001152/0.001152, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.949/3.949, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.131/4.131, allocations: 472.3 MB / 0.9024 GB, free: 18.76 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006112/0.0006113, allocations: 9.156 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2169, allocations: 98.72 MB / 1.105 GB, free: 10.72 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8011/1.018, allocations: 126.8 MB / 1.228 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.018, allocations: 86.95 kB / 1.229 GB, free: 1.91 MB / 0.6042 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.01729/1.036, allocations: 3.548 MB / 1.232 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/1.036, allocations: 0 / 1.232 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.738e-05/1.036, allocations: 4 kB / 1.232 GB, free: 14.96 MB / 0.6198 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.000965/1.037, allocations: 489.2 kB / 1.232 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.037, allocations: 14.06 kB / 1.232 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/1.037, allocations: 11.59 kB / 1.233 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.037, allocations: 178.7 kB / 1.233 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/1.037, allocations: 9 kB / 1.233 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/1.037, allocations: 7.984 kB / 1.233 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/1.038, allocations: 103.3 kB / 1.233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.038, allocations: 0 / 1.233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/1.038, allocations: 0 / 1.233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.038, allocations: 4 kB / 1.233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/1.038, allocations: 79.02 kB / 1.233 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/1.039, allocations: 375 kB / 1.233 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/1.04, allocations: 69.05 kB / 1.233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/1.04, allocations: 59.77 kB / 1.233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/1.04, allocations: 0 / 1.233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/1.04, allocations: 107.2 kB / 1.233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/1.04, allocations: 0 / 1.233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0009847/1.041, allocations: 242.7 kB / 1.234 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.042, allocations: 63.33 kB / 1.234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.042, allocations: 133.8 kB / 1.234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.042, allocations: 33.14 kB / 1.234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/1.042, allocations: 99.36 kB / 1.234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.042, allocations: 26.73 kB / 1.234 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/1.042, allocations: 0 / 1.234 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.042, allocations: 325.8 kB / 1.234 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/1.042, allocations: 45.91 kB / 1.234 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/1.043, allocations: 77.89 kB / 1.234 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/1.043, allocations: 57.73 kB / 1.235 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.043, allocations: 0 / 1.235 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006012/1.043, allocations: 159.8 kB / 1.235 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.043, allocations: 4 kB / 1.235 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.043, allocations: 8.031 kB / 1.235 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.044, allocations: 7.953 kB / 1.235 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/1.044, allocations: 19.98 kB / 1.235 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.044, allocations: 0 / 1.235 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.044, allocations: 23.02 kB / 1.235 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/1.044, allocations: 4 kB / 1.235 GB, free: 12.23 MB / 0.6198 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.0001656/1.044, allocations: 128 kB / 1.235 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/1.044, allocations: 8.016 kB / 1.235 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/1.044, allocations: 23.08 kB / 1.235 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.044, allocations: 6.484 kB / 1.235 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.044, allocations: 0 / 1.235 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.044, allocations: 4 kB / 1.235 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.045, allocations: 464.4 kB / 1.235 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.045, allocations: 0 / 1.235 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.046, allocations: 14.8 kB / 1.235 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.046, allocations: 7.953 kB / 1.235 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/1.046, allocations: 1.375 kB / 1.235 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.046, allocations: 0 / 1.235 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.046, allocations: 0 / 1.235 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/1.046, allocations: 281.9 kB / 1.236 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/1.046, allocations: 88.92 kB / 1.236 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/1.046, allocations: 3.953 kB / 1.236 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/1.047, allocations: 16.92 kB / 1.236 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/1.047, allocations: 11.3 kB / 1.236 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/1.047, allocations: 0 / 1.236 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000103/1.047, allocations: 109.6 kB / 1.236 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/1.047, allocations: 0 / 1.236 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005034/1.047, allocations: 58 kB / 1.236 GB, free: 11.07 MB / 0.6198 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.0005256/1.048, allocations: 181.7 kB / 1.236 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005875/1.049, allocations: 119.5 kB / 1.236 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.049, allocations: 192 / 1.236 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/1.049, allocations: 74.34 kB / 1.236 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/1.049, allocations: 9.234 kB / 1.236 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/1.05, allocations: 248.5 kB / 1.236 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.05, allocations: 0.7043 MB / 1.237 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001099/1.05, allocations: 8 kB / 1.237 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/1.051, allocations: 11.44 kB / 1.237 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/1.051, allocations: 3.75 kB / 1.237 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of Templates: time 0.007563/1.058, allocations: 1.982 MB / 1.239 GB, free: 7.84 MB / 0.6198 GB