Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01767/0.01767, allocations: 221.8 kB / 15.17 MB, free: 5.93 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.001837/0.001837, allocations: 179.9 kB / 16.06 MB, free: 5.828 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.881/3.881, allocations: 389.1 MB / 405.9 MB, free: 67.65 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.229/4.229, allocations: 472.3 MB / 0.9018 GB, free: 87.67 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004752, allocations: 13.56 kB / 1.008 GB, free: 37.51 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 98.73 MB / 1.104 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001731/0.1555, allocations: 1.175 MB / 1.105 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1569, allocations: 0.6995 MB / 1.106 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.157, allocations: 0 / 1.106 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.157, allocations: 5.797 kB / 1.106 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.1571, allocations: 15.86 kB / 1.106 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.1576, allocations: 87.77 kB / 1.106 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1577, allocations: 69.61 kB / 1.106 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.1578, allocations: 11.94 kB / 1.106 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.1579, allocations: 31.84 kB / 1.106 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.158, allocations: 37.17 kB / 1.106 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.158, allocations: 4 kB / 1.106 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1582, allocations: 79.86 kB / 1.106 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1583, allocations: 12.86 kB / 1.106 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1583, allocations: 37.62 kB / 1.106 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1585, allocations: 105.4 kB / 1.106 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1585, allocations: 3.938 kB / 1.106 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.858e-06/0.1586, allocations: 0 / 1.106 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.155e-06/0.1586, allocations: 1.781 kB / 1.106 GB, free: 9.402 MB / 0.5261 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.0006323/0.1592, allocations: 400.3 kB / 1.107 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1593, allocations: 9.781 kB / 1.107 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1593, allocations: 15.84 kB / 1.107 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1595, allocations: 170.9 kB / 1.107 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.1595, allocations: 8 kB / 1.107 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1595, allocations: 5.281 kB / 1.107 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.1598, allocations: 73.58 kB / 1.107 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.72e-06/0.1598, allocations: 1.375 kB / 1.107 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1598, allocations: 4 kB / 1.107 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-06/0.1598, allocations: 0 / 1.107 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.16, allocations: 49.23 kB / 1.107 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.1607, allocations: 307.6 kB / 1.107 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1609, allocations: 59.95 kB / 1.107 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1611, allocations: 38.38 kB / 1.107 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1611, allocations: 0 / 1.107 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.1613, allocations: 81.2 kB / 1.108 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.826e-06/0.1613, allocations: 1.281 kB / 1.108 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005267/0.1619, allocations: 158.7 kB / 1.108 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1619, allocations: 55.41 kB / 1.108 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1621, allocations: 122.2 kB / 1.108 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1621, allocations: 33.64 kB / 1.108 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.1622, allocations: 92.23 kB / 1.108 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1622, allocations: 19.83 kB / 1.108 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-06/0.1623, allocations: 0 / 1.108 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1624, allocations: 314.8 kB / 1.108 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1625, allocations: 35.92 kB / 1.108 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1627, allocations: 54.59 kB / 1.108 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1628, allocations: 31.98 kB / 1.108 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.573e-06/0.1628, allocations: 4 kB / 1.108 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003493/0.1632, allocations: 125.5 kB / 1.109 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1632, allocations: 4 kB / 1.109 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.616e-06/0.1632, allocations: 0 / 1.109 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1633, allocations: 7.953 kB / 1.109 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1634, allocations: 15.92 kB / 1.109 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-06/0.1634, allocations: 0 / 1.109 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/0.1635, allocations: 15.97 kB / 1.109 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1636, allocations: 0 / 1.109 GB, free: 6.918 MB / 0.5261 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 0.0001167/0.1637, allocations: 117.8 kB / 1.109 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1637, allocations: 3.906 kB / 1.109 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.1638, allocations: 16.36 kB / 1.109 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-06/0.1638, allocations: 3.953 kB / 1.109 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1638, allocations: 0 / 1.109 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.592e-06/0.1638, allocations: 0 / 1.109 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.1644, allocations: 386.5 kB / 1.109 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1644, allocations: 0 / 1.109 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.1645, allocations: 4 kB / 1.109 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.864e-06/0.1645, allocations: 3.953 kB / 1.109 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1645, allocations: 3.984 kB / 1.109 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.342e-06/0.1646, allocations: 0 / 1.109 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.587e-06/0.1646, allocations: 12 kB / 1.109 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.165, allocations: 219.3 kB / 1.109 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.1651, allocations: 89.03 kB / 1.109 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1651, allocations: 7.938 kB / 1.109 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1653, allocations: 8 kB / 1.109 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.1653, allocations: 7.984 kB / 1.109 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1653, allocations: 0 / 1.109 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.3e-05/0.1654, allocations: 95.27 kB / 1.109 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.78e-07/0.1654, allocations: 0 / 1.109 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004015/0.1658, allocations: 39.91 kB / 1.11 GB, free: 5.812 MB / 0.5261 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.0004015/0.1662, allocations: 167.2 kB / 1.11 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.1666, allocations: 75.89 kB / 1.11 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.079e-06/0.1666, allocations: 0 / 1.11 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1667, allocations: 35.98 kB / 1.11 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1671, allocations: 15.72 kB / 1.11 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.1676, allocations: 211.1 kB / 1.11 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1679, allocations: 0.6965 MB / 1.111 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.204e-05/0.168, allocations: 4.188 kB / 1.111 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.1681, allocations: 15.44 kB / 1.111 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/0.1681, allocations: 0 / 1.111 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of Templates: time 0.004959/0.173, allocations: 1.344 MB / 1.112 GB, free: 3.219 MB / 0.5261 GB