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.01081/0.01082, 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.001112/0.001112, 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.48/3.48, allocations: 389.1 MB / 405.9 MB, free: 68.51 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.425/4.425, allocations: 472.3 MB / 0.9018 GB, free: 13.27 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 15.98 kB / 1.008 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5802, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001309/0.5816, allocations: 1.199 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.5827, allocations: 0.705 MB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.5827, allocations: 0 / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.5828, allocations: 3.281 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.5828, allocations: 11.88 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.5832, allocations: 87.75 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.5833, allocations: 64.81 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.214e-05/0.5834, allocations: 4 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.5835, allocations: 46.05 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.5836, allocations: 31.84 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.5836, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.5838, allocations: 87.84 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.5838, allocations: 11.97 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.5839, allocations: 43.27 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.584, allocations: 89.09 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.794e-06/0.5841, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.223e-06/0.5841, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.338e-06/0.5841, allocations: 0.6562 kB / 1.106 GB, free: 181.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004915/0.5846, allocations: 411 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.5846, allocations: 12.03 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.5847, allocations: 15.17 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.683e-05/0.5848, allocations: 174.9 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.5848, allocations: 5.562 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.5848, allocations: 4 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.585, allocations: 76.27 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.459e-06/0.5851, allocations: 3.938 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5851, allocations: 4 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-06/0.5851, allocations: 0.5 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.5853, allocations: 46.83 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.5858, allocations: 314.7 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.586, allocations: 49.81 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.5861, allocations: 32.97 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.5861, allocations: 3.938 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.5863, allocations: 90.7 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.377e-06/0.5863, allocations: 0 / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004434/0.5868, allocations: 141.5 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.5868, allocations: 63.33 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.5869, allocations: 115.5 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.587, allocations: 33.7 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.587, allocations: 96.16 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.587, allocations: 11.91 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-06/0.587, allocations: 3.938 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.5871, allocations: 323.5 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.5872, allocations: 29.39 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5873, allocations: 54.88 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.5875, allocations: 36.28 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5875, allocations: 0 / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002896/0.5878, allocations: 124.2 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5878, allocations: 4 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.954e-06/0.5878, allocations: 8.703 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5878, allocations: 1.547 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.588, allocations: 11.98 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.868e-06/0.588, allocations: 10 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.5881, allocations: 12.78 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.5881, allocations: 4 kB / 1.109 GB, free: 178.9 MB / 0.6823 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 (win.occ,$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 7.812e-05/0.5882, allocations: 125.6 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.5882, allocations: 7.906 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.5883, allocations: 6.344 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.557e-06/0.5883, allocations: 7.953 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.725e-06/0.5883, allocations: 0 / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-06/0.5883, allocations: 0 / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.5888, allocations: 386 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5888, allocations: 1 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.5889, allocations: 7.984 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.276e-06/0.5889, allocations: 7.953 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5889, allocations: 0 / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.189e-06/0.5889, allocations: 0 / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-06/0.5889, allocations: 2.875 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.5892, allocations: 215.4 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.5893, allocations: 82.38 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5893, allocations: 13.77 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5894, allocations: 7.938 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.5895, allocations: 3.984 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.5895, allocations: 4 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.5896, allocations: 96.25 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.65e-07/0.5896, allocations: 0 / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003831/0.59, allocations: 43.83 kB / 1.11 GB, free: 177.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: 6 (win.sampleTrigger,$whenCondition1,win.occ,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.0003369/0.5903, allocations: 174.2 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.5906, allocations: 79.58 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.219e-06/0.5906, allocations: 0 / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.5908, allocations: 36.12 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.5911, allocations: 4 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.5915, allocations: 207.8 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.5916, allocations: 0.6957 MB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.172e-05/0.5917, allocations: 8.156 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.5917, allocations: 11.44 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.31e-06/0.5917, allocations: 3.938 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.004328/0.5961, allocations: 1.339 MB / 1.112 GB, free: 175.4 MB / 0.6823 GB