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.01064/0.01064, allocations: 218.8 kB / 15.18 MB, free: 6.016 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.001128/0.001127, allocations: 182.4 kB / 16.06 MB, free: 5.879 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.585/3.585, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.526/4.526, allocations: 472.3 MB / 0.9017 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 16 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6261, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00159/0.6278, allocations: 1.208 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.6291, allocations: 0.7211 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.6292, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.6292, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.704e-05/0.6293, allocations: 19.44 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.6298, allocations: 96.12 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.6299, allocations: 74.14 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.63, allocations: 12.97 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.6301, allocations: 30.19 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.6302, allocations: 41.06 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.6302, allocations: 7.562 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.6304, allocations: 83.09 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.6305, allocations: 17.39 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.6305, allocations: 37.8 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.6307, allocations: 97.14 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.256e-06/0.6307, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.039e-06/0.6307, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.416e-06/0.6308, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 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.0005968/0.6314, allocations: 458.5 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.6314, allocations: 8.812 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.6315, allocations: 13.67 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/0.6316, allocations: 181.4 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6316, allocations: 1.875 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.6316, allocations: 4.375 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.6318, allocations: 81.66 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.771e-06/0.6319, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.6319, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-06/0.6319, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.6321, allocations: 49.14 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.6326, allocations: 321.9 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.6328, allocations: 69.25 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.6329, allocations: 34.34 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.633, allocations: 2.75 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.6332, allocations: 96.44 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.601e-06/0.6332, allocations: 0 / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004825/0.6337, allocations: 167.6 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.6338, allocations: 63.86 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.6339, allocations: 121.1 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.6339, allocations: 31.59 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.634, allocations: 97.08 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.634, allocations: 25.62 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-06/0.634, allocations: 4 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.6341, allocations: 320.7 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.6342, allocations: 29.03 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.6344, allocations: 70.84 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.6345, allocations: 39.27 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-06/0.6345, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003444/0.6349, allocations: 133.1 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6349, allocations: 12.31 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.019e-06/0.6349, allocations: 2.188 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6349, allocations: 10.42 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.6351, allocations: 14.95 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6351, allocations: 2.906 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.6353, allocations: 14.75 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.6353, allocations: 10.83 kB / 1.109 GB, free: 209.4 MB / 0.7292 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 9.025e-05/0.6354, allocations: 130.8 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.6354, allocations: 7.469 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.6358, allocations: 153.3 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-06/0.6359, allocations: 1.031 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.506e-06/0.6359, allocations: 7.266 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-06/0.6359, allocations: 1.156 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/0.6365, allocations: 434.4 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.724e-06/0.6366, allocations: 4.281 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.6367, allocations: 15.69 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-06/0.6367, allocations: 5.234 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.6367, allocations: 1.281 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.46e-06/0.6367, allocations: 5.297 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.621e-06/0.6367, allocations: 1.312 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.6371, allocations: 234.5 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.6372, allocations: 83.42 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.6372, allocations: 8.312 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.6374, allocations: 11.67 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.6374, allocations: 10.08 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.6375, allocations: 8.594 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.6375, allocations: 95.5 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.4e-07/0.6375, allocations: 0 / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004281/0.638, allocations: 47.42 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0003657/0.6384, allocations: 168.3 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.6387, allocations: 90.19 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6387, allocations: 2.594 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.6389, allocations: 52.59 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.6392, allocations: 14.17 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.6397, allocations: 226.3 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.6399, allocations: 0.7005 MB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.373e-05/0.64, allocations: 9.391 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.64, allocations: 18.03 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.423e-06/0.6401, allocations: 0 / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.005669/0.6457, allocations: 1.628 MB / 1.113 GB, free: 207.4 MB / 0.7292 GB