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.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01701/0.02081, allocations: 108.4 kB / 15.06 MB, free: 5.562 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.001152/0.001152, allocations: 184 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 2.167/2.167, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.232/2.232, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 8 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5891, allocations: 98.71 MB / 0.6833 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001618/0.5908, allocations: 1.196 MB / 0.6845 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.5921, allocations: 0.7255 MB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.5922, allocations: 0 / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.5922, allocations: 9.234 kB / 0.6852 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.295e-05/0.5923, allocations: 19.97 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.5928, allocations: 97.08 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.5929, allocations: 52.91 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.709e-05/0.593, allocations: 8.625 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.5931, allocations: 34.48 kB / 0.6854 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.5932, allocations: 32.5 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.5932, allocations: 3.344 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.5935, allocations: 73.39 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.5935, allocations: 12.67 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.5936, allocations: 44.67 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.5938, allocations: 100.2 kB / 0.6857 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5938, allocations: 0 / 0.6857 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.957e-06/0.5938, allocations: 0 / 0.6857 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.151e-06/0.5938, allocations: 0 / 0.6857 GB, free: 14.99 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.0006268/0.5945, allocations: 453.9 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5945, allocations: 9.5 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.5946, allocations: 11.73 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5947, allocations: 173.8 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5947, allocations: 3.438 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.5947, allocations: 4.219 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.595, allocations: 76.36 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.595, allocations: 4 kB / 0.6864 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.595, allocations: 2.891 kB / 0.6864 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-06/0.595, allocations: 0 / 0.6864 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.5952, allocations: 45.22 kB / 0.6864 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.5958, allocations: 327 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.596, allocations: 69.02 kB / 0.6868 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.596, allocations: 2.172 kB / 0.6868 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.5963, allocations: 95.95 kB / 0.6869 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.81e-06/0.5963, allocations: 4 kB / 0.6869 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0005111/0.5968, allocations: 166.6 kB / 0.6871 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.5969, allocations: 58.95 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.597, allocations: 126.2 kB / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.597, allocations: 27.47 kB / 0.6873 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.5971, allocations: 93.5 kB / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.5971, allocations: 29.39 kB / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-06/0.5972, allocations: 0 / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.5972, allocations: 324.5 kB / 0.6877 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.5974, allocations: 29.14 kB / 0.6877 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.5975, allocations: 67.22 kB / 0.6878 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.5976, allocations: 34.61 kB / 0.6878 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-06/0.5976, allocations: 1.656 kB / 0.6878 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003351/0.598, allocations: 133 kB / 0.6879 GB, free: 13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.598, allocations: 8.5 kB / 0.6879 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.847e-06/0.598, allocations: 3.141 kB / 0.688 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5981, allocations: 1.219 kB / 0.688 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5982, allocations: 23.58 kB / 0.688 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5982, allocations: 3.062 kB / 0.688 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.5984, allocations: 16.22 kB / 0.688 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.5984, allocations: 5.656 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.575e-05/0.5985, allocations: 133.4 kB / 0.6881 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.5985, allocations: 7.969 kB / 0.6881 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.599, allocations: 153.2 kB / 0.6883 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-06/0.599, allocations: 1.562 kB / 0.6883 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-06/0.599, allocations: 3.953 kB / 0.6883 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.599, allocations: 2.438 kB / 0.6883 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.5997, allocations: 429.8 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-06/0.5997, allocations: 1.531 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.5998, allocations: 14.2 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.056e-06/0.5998, allocations: 1.734 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.5999, allocations: 14.53 kB / 0.6887 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.704e-06/0.5999, allocations: 9.359 kB / 0.6887 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.932e-06/0.5999, allocations: 0 / 0.6887 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.6003, allocations: 225.5 kB / 0.689 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.6003, allocations: 85.45 kB / 0.689 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.6004, allocations: 5.844 kB / 0.689 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6005, allocations: 19.44 kB / 0.6891 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.6006, allocations: 12.09 kB / 0.6891 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.6006, allocations: 9.453 kB / 0.6891 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.418e-05/0.6007, allocations: 99.88 kB / 0.6892 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.91e-07/0.6007, allocations: 0 / 0.6892 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004506/0.6012, allocations: 40.38 kB / 0.6892 GB, free: 12.02 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.0003978/0.6016, allocations: 177.4 kB / 0.6894 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.6019, allocations: 84.08 kB / 0.6895 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.602, allocations: 0 / 0.6895 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.6021, allocations: 52.14 kB / 0.6895 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.6024, allocations: 13.08 kB / 0.6895 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.6029, allocations: 233.3 kB / 0.6897 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.6031, allocations: 0.6975 MB / 0.6904 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.573e-05/0.6032, allocations: 8.734 kB / 0.6904 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.6032, allocations: 14.03 kB / 0.6904 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.31e-06/0.6032, allocations: 0 / 0.6904 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.005839/0.6091, allocations: 1.622 MB / 0.692 GB, free: 10.82 MB / 0.5261 GB