Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005671/0.005677, allocations: 233.9 kB / 15.8 MB, free: 6.285 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.001639/0.001639, allocations: 178.9 kB / 16.68 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 3.98/3.98, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.05/4.05, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1627, allocations: 98.74 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001605/0.1644, allocations: 1.195 MB / 1.106 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1658, allocations: 0.7342 MB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.1659, allocations: 4 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.1659, allocations: 3.938 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.166, allocations: 11.92 kB / 1.107 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.1665, allocations: 91.64 kB / 1.107 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.1667, allocations: 87.69 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.1667, allocations: 7.406 kB / 1.107 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.1669, allocations: 27.92 kB / 1.107 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1669, allocations: 43.81 kB / 1.107 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.167, allocations: 0 / 1.107 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.1672, allocations: 87.84 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.1672, allocations: 11.98 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.1673, allocations: 34.7 kB / 1.107 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1675, allocations: 104 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1675, allocations: 0 / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1675, allocations: 2.938 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1675, allocations: 0 / 1.107 GB, free: 39.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007005/0.1682, allocations: 454.4 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1683, allocations: 11.44 kB / 1.107 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1683, allocations: 7.906 kB / 1.107 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1684, allocations: 170.9 kB / 1.108 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1685, allocations: 11.92 kB / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1685, allocations: 8 kB / 1.108 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1687, allocations: 70.3 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1688, allocations: 0 / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1688, allocations: 10.86 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1688, allocations: 4 kB / 1.108 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.169, allocations: 39.97 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.1696, allocations: 324.3 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1698, allocations: 71.05 kB / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1699, allocations: 36.95 kB / 1.108 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.17, allocations: 10.92 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.1702, allocations: 100.4 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.963e-06/0.1703, allocations: 0 / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0005235/0.1708, allocations: 164.8 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.1708, allocations: 51.41 kB / 1.108 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.376e-05/0.1709, allocations: 133.7 kB / 1.109 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.171, allocations: 29.7 kB / 1.109 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.171, allocations: 92.31 kB / 1.109 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1711, allocations: 22.72 kB / 1.109 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.1711, allocations: 4 kB / 1.109 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.1711, allocations: 318.8 kB / 1.109 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1713, allocations: 27.98 kB / 1.109 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1714, allocations: 70 kB / 1.109 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1715, allocations: 39.02 kB / 1.109 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1716, allocations: 4 kB / 1.109 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003257/0.1719, allocations: 134 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1719, allocations: 4 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1719, allocations: 8.359 kB / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.172, allocations: 0 / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.1721, allocations: 15.98 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1721, allocations: 4 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.1723, allocations: 23.12 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1723, allocations: 11.92 kB / 1.109 GB, free: 37.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulsStart,occ.pulsStart) * 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 8.447e-05/0.1724, allocations: 117.8 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1725, allocations: 11.86 kB / 1.109 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.1729, allocations: 156 kB / 1.11 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1729, allocations: 4 kB / 1.11 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1729, allocations: 0 / 1.11 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.173, allocations: 85.69 kB / 1.11 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.173, allocations: 11.98 kB / 1.11 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1732, allocations: 8 kB / 1.11 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.1732, allocations: 11.97 kB / 1.11 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004373/0.1737, allocations: 220.1 kB / 1.11 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003779/0.1741, allocations: 320.6 kB / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001397/0.1742, allocations: 47.97 kB / 1.11 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.1743, allocations: 95.27 kB / 1.11 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of Backend: time 6.81e-07/0.1743, allocations: 0 / 1.11 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007762/0.1751, allocations: 195 kB / 1.111 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005099/0.1756, allocations: 0.6484 MB / 1.111 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.005372/0.181, allocations: 1.63 MB / 1.113 GB, free: 33.49 MB / 0.6042 GB