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.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009328/0.009327, allocations: 112.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.001146/0.001146, allocations: 179.3 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.104/2.104, 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.618/2.618, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005036, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5852/0.5857, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001589/0.5873, allocations: 1.208 MB / 0.6845 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.5887, allocations: 0.7283 MB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.5888, allocations: 1 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.5888, allocations: 4.688 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.857e-05/0.5889, allocations: 17.45 kB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.5894, allocations: 101.7 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.5895, allocations: 64.81 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.5896, allocations: 11.42 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.5897, allocations: 35.12 kB / 0.6854 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.5898, allocations: 44.56 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.5898, allocations: 4.969 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.59, allocations: 65.36 kB / 0.6856 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.5901, allocations: 21.8 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.5901, allocations: 37.27 kB / 0.6856 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.5904, allocations: 110.9 kB / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.663e-06/0.5904, allocations: 0 / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.162e-06/0.5904, allocations: 1.094 kB / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.895e-06/0.5904, allocations: 0 / 0.6857 GB, free: 15.14 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006575/0.5911, allocations: 483.1 kB / 0.6862 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.5911, allocations: 13.34 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.5912, allocations: 16.38 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.5913, allocations: 177 kB / 0.6864 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5913, allocations: 6.078 kB / 0.6864 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.5914, allocations: 4.594 kB / 0.6864 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.5916, allocations: 81.33 kB / 0.6865 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.821e-06/0.5916, allocations: 0 / 0.6865 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.5917, allocations: 1.953 kB / 0.6865 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-06/0.5917, allocations: 5.031 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.5919, allocations: 54.5 kB / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.5925, allocations: 338.9 kB / 0.6868 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.5928, allocations: 88.61 kB / 0.6869 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.5929, allocations: 1.656 kB / 0.6869 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.5932, allocations: 106.1 kB / 0.687 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.115e-06/0.5932, allocations: 0 / 0.687 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0005685/0.5937, allocations: 191.8 kB / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.5938, allocations: 54.84 kB / 0.6873 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.5939, allocations: 130 kB / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.594, allocations: 31.88 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.594, allocations: 88.2 kB / 0.6875 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.5941, allocations: 29.89 kB / 0.6875 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.5941, allocations: 5.438 kB / 0.6875 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.5941, allocations: 323.7 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.5943, allocations: 30.64 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.5944, allocations: 75.19 kB / 0.688 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.5945, allocations: 40.97 kB / 0.688 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.02e-06/0.5946, allocations: 3.938 kB / 0.688 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003525/0.5949, allocations: 150.3 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.595, allocations: 5.656 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.33e-06/0.595, allocations: 1.531 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.595, allocations: 11.2 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.5952, allocations: 16.92 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.84e-06/0.5952, allocations: 1.5 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5953, allocations: 16.75 kB / 0.6882 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5954, allocations: 9.344 kB / 0.6882 GB, free: 13.03 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,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.784e-05/0.5955, allocations: 125.4 kB / 0.6883 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.5955, allocations: 8.156 kB / 0.6883 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.596, allocations: 168 kB / 0.6885 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.544e-06/0.596, allocations: 1.188 kB / 0.6885 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.759e-06/0.596, allocations: 5.047 kB / 0.6885 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.596, allocations: 1.125 kB / 0.6885 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007549/0.5968, allocations: 452.9 kB / 0.6889 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.965e-06/0.5968, allocations: 0 / 0.6889 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5969, allocations: 12.86 kB / 0.6889 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.966e-06/0.5969, allocations: 9.891 kB / 0.6889 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.597, allocations: 2.062 kB / 0.6889 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.507e-06/0.597, allocations: 0.6562 kB / 0.689 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-06/0.597, allocations: 1.594 kB / 0.689 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.5974, allocations: 249.5 kB / 0.6892 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.5974, allocations: 84.59 kB / 0.6893 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.5975, allocations: 9.562 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.5977, allocations: 10.08 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.5977, allocations: 11 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.5978, allocations: 14.22 kB / 0.6893 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.451e-05/0.5979, allocations: 95.84 kB / 0.6894 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.83e-07/0.5979, allocations: 3.938 kB / 0.6894 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004587/0.5983, allocations: 47.14 kB / 0.6895 GB, free: 12.06 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.000393/0.5987, allocations: 175.9 kB / 0.6896 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.5991, allocations: 93.69 kB / 0.6897 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.5991, allocations: 0 / 0.6897 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.5993, allocations: 63.05 kB / 0.6898 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.5996, allocations: 16.73 kB / 0.6898 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.6002, allocations: 246.5 kB / 0.69 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.6004, allocations: 0.7026 MB / 0.6907 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.688e-05/0.6005, allocations: 9.906 kB / 0.6907 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.6005, allocations: 15.25 kB / 0.6907 GB, free: 11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/0.6005, allocations: 0 / 0.6907 GB, free: 11 MB / 0.5261 GB Notification: Performance of Templates: time 0.006297/0.6068, allocations: 1.761 MB / 0.6925 GB, free: 10.83 MB / 0.5261 GB