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.01407/0.01407, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001117/0.001117, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.58/3.58, allocations: 389.1 MB / 405.9 MB, free: 67.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.414/4.414, allocations: 472.3 MB / 0.9018 GB, free: 13.28 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005045, allocations: 8 kB / 1.008 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5779, allocations: 98.73 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001408/0.5794, allocations: 1.274 MB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.5806, allocations: 0.7483 MB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.5807, allocations: 0 / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.5807, allocations: 7.922 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.5808, allocations: 19.2 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.5813, allocations: 107.6 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.5814, allocations: 119.6 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.811e-05/0.5815, allocations: 12 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.5816, allocations: 58.53 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.902e-05/0.5817, allocations: 64.83 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.5818, allocations: 4 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.582, allocations: 91.78 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.582, allocations: 23.89 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.5821, allocations: 45.64 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.5823, allocations: 136.2 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5823, allocations: 0 / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.179e-06/0.5823, allocations: 0 / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.882e-06/0.5823, allocations: 0 / 1.107 GB, free: 181 MB / 0.6823 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.0005867/0.5829, allocations: 465.3 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.5829, allocations: 12.03 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.583, allocations: 12.61 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.252e-05/0.5831, allocations: 175.5 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5831, allocations: 12.92 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.5832, allocations: 8 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.5834, allocations: 96.16 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.591e-06/0.5835, allocations: 7.219 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.5835, allocations: 0 / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-06/0.5835, allocations: 4 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.5838, allocations: 71.7 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.5846, allocations: 388 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.5848, allocations: 74.55 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.585, allocations: 64.2 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.585, allocations: 4 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.5853, allocations: 104.4 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 3.513e-06/0.5853, allocations: 2.5 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0006737/0.586, allocations: 229.8 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.5861, allocations: 55.39 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.5862, allocations: 142.4 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5862, allocations: 25.7 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.5863, allocations: 104.3 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.5863, allocations: 19.22 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5863, allocations: 1.234 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.5864, allocations: 326.8 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5865, allocations: 43.97 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.5867, allocations: 82.42 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.5869, allocations: 56.06 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5869, allocations: 0 / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004239/0.5873, allocations: 166 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5874, allocations: 4 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5874, allocations: 0 / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5874, allocations: 7.953 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.5876, allocations: 25.53 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9e-06/0.5876, allocations: 7.391 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.5878, allocations: 16.5 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.5878, allocations: 4 kB / 1.109 GB, free: 178.1 MB / 0.6823 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,win.occ,$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 9.823e-05/0.5879, allocations: 129.8 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.5879, allocations: 7.906 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.588, allocations: 15.38 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.097e-06/0.588, allocations: 4.828 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.588, allocations: 0 / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.202e-06/0.588, allocations: 1.031 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.5888, allocations: 473 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-06/0.5888, allocations: 0 / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.5889, allocations: 11.98 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.5889, allocations: 8.578 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.589, allocations: 8.641 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.589, allocations: 1.641 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.589, allocations: 0 / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.5895, allocations: 275.7 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.5896, allocations: 88.95 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.5896, allocations: 8.844 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.5898, allocations: 11.98 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.5899, allocations: 7.922 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.5899, allocations: 8.5 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.391e-05/0.59, allocations: 111.4 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.97e-07/0.59, allocations: 0 / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004159/0.5904, allocations: 44 kB / 1.111 GB, free: 176.8 MB / 0.6823 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,win.occ,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.0003659/0.5908, allocations: 173.8 kB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.5912, allocations: 118.6 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5912, allocations: 0 / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.5914, allocations: 64.94 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.5918, allocations: 12.11 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.5923, allocations: 256.3 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.5925, allocations: 0.7043 MB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.243e-05/0.5926, allocations: 9.906 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.5926, allocations: 11.44 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.48e-06/0.5926, allocations: 3.938 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.00531/0.598, allocations: 1.794 MB / 1.114 GB, free: 173.8 MB / 0.6823 GB