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.006682/0.006687, allocations: 239.5 kB / 15.81 MB, free: 6.277 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.001774/0.001774, allocations: 183.4 kB / 16.69 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 4.148/4.148, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.196/4.196, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006519, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.17, allocations: 98.74 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001636/0.1717, allocations: 1.191 MB / 1.106 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1732, allocations: 0.7109 MB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.1732, allocations: 3.625 kB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.1733, allocations: 3.938 kB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.1734, allocations: 7.938 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.1739, allocations: 91.7 kB / 1.107 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1741, allocations: 63.77 kB / 1.107 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1742, allocations: 12 kB / 1.107 GB, free: 40 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.1743, allocations: 32.45 kB / 1.107 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.1744, allocations: 29 kB / 1.107 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1744, allocations: 4 kB / 1.107 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1746, allocations: 87.78 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1747, allocations: 18.69 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.1747, allocations: 37.64 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1749, allocations: 92.05 kB / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.175, allocations: 0 / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.175, allocations: 0 / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.175, allocations: 7.938 kB / 1.107 GB, free: 39.7 MB / 0.6042 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.0005966/0.1756, allocations: 411.8 kB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1756, allocations: 8.031 kB / 1.107 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1757, allocations: 11.84 kB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.4e-05/0.1758, allocations: 171 kB / 1.108 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1758, allocations: 0 / 1.108 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1759, allocations: 12.59 kB / 1.108 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1761, allocations: 77.64 kB / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1761, allocations: 3.953 kB / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1762, allocations: 0 / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1762, allocations: 0 / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1764, allocations: 46.47 kB / 1.108 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.1771, allocations: 309.3 kB / 1.108 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1773, allocations: 61.73 kB / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1774, allocations: 32.97 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1775, allocations: 0 / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.1777, allocations: 84.94 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.1777, allocations: 3.438 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005494/0.1783, allocations: 147.5 kB / 1.108 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1783, allocations: 59.39 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.1784, allocations: 118.4 kB / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1785, allocations: 25.7 kB / 1.108 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1785, allocations: 95.44 kB / 1.109 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1786, allocations: 19.75 kB / 1.109 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.1786, allocations: 0 / 1.109 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.1786, allocations: 314.8 kB / 1.109 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1788, allocations: 35.97 kB / 1.109 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.179, allocations: 58.05 kB / 1.109 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1791, allocations: 35.17 kB / 1.109 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1791, allocations: 0 / 1.109 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003559/0.1795, allocations: 125.4 kB / 1.109 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1795, allocations: 4 kB / 1.109 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1795, allocations: 7.469 kB / 1.109 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1796, allocations: 3.984 kB / 1.109 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1797, allocations: 8 kB / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1798, allocations: 4 kB / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1799, allocations: 11.98 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1799, allocations: 4 kB / 1.109 GB, free: 37.23 MB / 0.6042 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 9.704e-05/0.18, allocations: 118.4 kB / 1.109 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1801, allocations: 15.17 kB / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.1801, allocations: 12.36 kB / 1.109 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1801, allocations: 4 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1801, allocations: 3.938 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.1802, allocations: 81.02 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1802, allocations: 0 / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.1803, allocations: 4 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1803, allocations: 11.55 kB / 1.109 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004064/0.1808, allocations: 202.2 kB / 1.11 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003827/0.1812, allocations: 298.5 kB / 1.11 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001359/0.1813, allocations: 31.98 kB / 1.11 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.1814, allocations: 91.92 kB / 1.11 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of Backend: time 8.12e-07/0.1814, allocations: 4 kB / 1.11 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008359/0.1822, allocations: 203.4 kB / 1.11 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000431/0.1827, allocations: 0.6332 MB / 1.111 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.005052/0.1877, allocations: 1.375 MB / 1.112 GB, free: 34.18 MB / 0.6042 GB