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.008947/0.008952, allocations: 106.1 kB / 15.06 MB, free: 5.559 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.001164/0.001164, allocations: 180.7 kB / 15.95 MB, free: 5.523 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 1.983/1.983, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.285/2.285, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004727, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.5899, allocations: 98.71 MB / 0.6833 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001681/0.5916, allocations: 1.192 MB / 0.6845 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.5931, allocations: 0.7254 MB / 0.6852 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.5932, allocations: 1.25 kB / 0.6852 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.5932, allocations: 4.797 kB / 0.6852 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.5933, allocations: 20.38 kB / 0.6852 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.5938, allocations: 92.31 kB / 0.6853 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.815e-05/0.594, allocations: 56.88 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.594, allocations: 8.156 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.5942, allocations: 34.78 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.5943, allocations: 37.17 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.5943, allocations: 4 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.5945, allocations: 69.22 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.5945, allocations: 24.34 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.5946, allocations: 35.92 kB / 0.6856 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.5948, allocations: 99.59 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.671e-06/0.5948, allocations: 1.281 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.113e-06/0.5948, allocations: 0 / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.5949, allocations: 0 / 0.6857 GB, free: 15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006365/0.5955, allocations: 457.2 kB / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5956, allocations: 9.031 kB / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.5956, allocations: 13.11 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.5957, allocations: 169 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.5957, allocations: 2.984 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5958, allocations: 8.375 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.596, allocations: 77.39 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.394e-06/0.5961, allocations: 1.312 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.5961, allocations: 4 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.698e-06/0.5961, allocations: 1.156 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.5963, allocations: 41.58 kB / 0.6864 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.5969, allocations: 326.9 kB / 0.6867 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.5971, allocations: 68.02 kB / 0.6868 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5971, allocations: 1.844 kB / 0.6868 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.5974, allocations: 94.38 kB / 0.6869 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 5.708e-06/0.5974, allocations: 0 / 0.6869 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0005622/0.598, allocations: 170.2 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.598, allocations: 54.8 kB / 0.6871 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5981, allocations: 130.8 kB / 0.6872 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5982, allocations: 35.33 kB / 0.6873 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.5982, allocations: 92.95 kB / 0.6874 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.5983, allocations: 24.94 kB / 0.6874 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-06/0.5983, allocations: 4 kB / 0.6874 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.5984, allocations: 325.1 kB / 0.6877 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.5985, allocations: 24.09 kB / 0.6877 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.5986, allocations: 73.83 kB / 0.6878 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.5988, allocations: 29.11 kB / 0.6878 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5988, allocations: 0 / 0.6878 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003474/0.5991, allocations: 141.8 kB / 0.6879 GB, free: 13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5992, allocations: 6.906 kB / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.684e-06/0.5992, allocations: 0 / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5992, allocations: 3.344 kB / 0.688 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.5994, allocations: 22.83 kB / 0.688 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.5994, allocations: 2.719 kB / 0.688 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.5995, allocations: 16.95 kB / 0.688 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.5996, allocations: 9.641 kB / 0.688 GB, free: 12.98 MB / 0.5261 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.651e-05/0.5997, allocations: 129.4 kB / 0.6881 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.5997, allocations: 9.219 kB / 0.6881 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.6001, allocations: 147.9 kB / 0.6883 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6002, allocations: 3.234 kB / 0.6883 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.303e-06/0.6002, allocations: 7.953 kB / 0.6883 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-06/0.6002, allocations: 0.6094 kB / 0.6883 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.6009, allocations: 432.8 kB / 0.6887 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.801e-06/0.6009, allocations: 4 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.601, allocations: 14.53 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.449e-06/0.6011, allocations: 0.8125 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.6011, allocations: 7.453 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.6011, allocations: 1.062 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-06/0.6011, allocations: 4.812 kB / 0.6887 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.6015, allocations: 226.9 kB / 0.689 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.6015, allocations: 87.36 kB / 0.689 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.6016, allocations: 5 kB / 0.689 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.6017, allocations: 15.7 kB / 0.6891 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.6018, allocations: 13.25 kB / 0.6891 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.6019, allocations: 5.281 kB / 0.6891 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.6019, allocations: 98.31 kB / 0.6892 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.71e-07/0.602, allocations: 1.375 kB / 0.6892 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004932/0.6025, allocations: 40.09 kB / 0.6892 GB, free: 12.04 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: 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.0004193/0.6029, allocations: 176.9 kB / 0.6894 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.6033, allocations: 89.53 kB / 0.6895 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.634e-06/0.6033, allocations: 4 kB / 0.6895 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.6035, allocations: 47.09 kB / 0.6895 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.6038, allocations: 12.86 kB / 0.6895 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.6044, allocations: 233.8 kB / 0.6897 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.6045, allocations: 0.6978 MB / 0.6904 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.884e-05/0.6046, allocations: 8.766 kB / 0.6904 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.6047, allocations: 13.88 kB / 0.6904 GB, free: 11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.486e-06/0.6047, allocations: 4 kB / 0.6905 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.006199/0.6109, allocations: 1.618 MB / 0.692 GB, free: 10.84 MB / 0.5261 GB