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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01061/0.01062, allocations: 220.3 kB / 15.17 MB, free: 6 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.001139/0.001139, allocations: 180.7 kB / 16.06 MB, free: 5.871 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.887/3.887, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.22/4.22, allocations: 472.3 MB / 0.9017 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008133/0.0008137, allocations: 8 kB / 1.008 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.5807, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001591/0.5824, allocations: 1.199 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.5837, allocations: 0.7057 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.5837, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.5838, allocations: 1.922 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.5838, allocations: 15.52 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.5843, allocations: 90.16 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.5844, allocations: 63.64 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.5845, allocations: 8.312 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.5846, allocations: 42.38 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.5847, allocations: 28.48 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.5847, allocations: 2.688 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.5849, allocations: 85.62 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.585, allocations: 11.09 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.585, allocations: 39.73 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.5852, allocations: 96.05 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.193e-06/0.5852, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.607e-06/0.5852, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5852, allocations: 3.938 kB / 1.106 GB, free: 211.4 MB / 0.7292 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.0004962/0.5857, allocations: 407.8 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5858, allocations: 9.031 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.5858, allocations: 12.64 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.5859, allocations: 173.9 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.586, allocations: 2.469 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.586, allocations: 6.594 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.5862, allocations: 79.11 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.5862, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5862, allocations: 2.531 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-06/0.5862, allocations: 2.969 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.5864, allocations: 52.53 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.5871, allocations: 309 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.5872, allocations: 53.44 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.5874, allocations: 35.39 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5874, allocations: 1.312 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.5876, allocations: 83.89 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.643e-06/0.5876, allocations: 0 / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004796/0.5881, allocations: 152.5 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.5882, allocations: 60.69 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.5883, allocations: 118.4 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5883, allocations: 33.14 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.5883, allocations: 93.53 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.5884, allocations: 14.19 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-06/0.5884, allocations: 5.75 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.5884, allocations: 318.2 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.5886, allocations: 33.5 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.5887, allocations: 55.39 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.5889, allocations: 31.41 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-06/0.5889, allocations: 1.094 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003348/0.5892, allocations: 124.3 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5893, allocations: 10.45 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.162e-06/0.5893, allocations: 1.25 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5893, allocations: 5.391 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.5894, allocations: 18.53 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.406e-06/0.5895, allocations: 2.562 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.5896, allocations: 16.53 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.5896, allocations: 7.625 kB / 1.109 GB, free: 209.5 MB / 0.7292 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 8.485e-05/0.5897, allocations: 120.7 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.5897, allocations: 6.469 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.5898, allocations: 13.61 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-06/0.5898, allocations: 5.422 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-06/0.5898, allocations: 2.812 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-06/0.5898, allocations: 3.438 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.5903, allocations: 375.2 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-06/0.5904, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.5904, allocations: 6.391 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.203e-06/0.5904, allocations: 8.859 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5905, allocations: 4.688 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-06/0.5905, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-06/0.5905, allocations: 2.094 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.5908, allocations: 214.5 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.5909, allocations: 79.73 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.5909, allocations: 13.09 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.591, allocations: 7.062 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.5911, allocations: 8.875 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.5911, allocations: 4.875 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.5912, allocations: 94.72 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.92e-07/0.5912, allocations: 0 / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004081/0.5916, allocations: 45.31 kB / 1.11 GB, free: 208.7 MB / 0.7292 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.0003683/0.592, allocations: 174.2 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.5923, allocations: 75.47 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.508e-06/0.5923, allocations: 0 / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.5925, allocations: 44.33 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.5928, allocations: 11.31 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.5933, allocations: 197.6 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.5934, allocations: 0.6908 MB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.184e-05/0.5935, allocations: 5.484 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.5936, allocations: 15.33 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.498e-06/0.5936, allocations: 3.094 kB / 1.111 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.004911/0.5985, allocations: 1.343 MB / 1.112 GB, free: 207.7 MB / 0.7292 GB