Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.886/2.886, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 171.3 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001025, allocations: 98.45 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005357, allocations: 10.25 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1867, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00271/0.1895, allocations: 1.211 MB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1917, allocations: 0.7464 MB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.1919, allocations: 0 / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.1919, allocations: 7.922 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1921, allocations: 15.91 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.1928, allocations: 99.75 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.193, allocations: 59.86 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1931, allocations: 11.98 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1933, allocations: 43.83 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1935, allocations: 47.81 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.1935, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.1938, allocations: 63.89 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1939, allocations: 19.95 kB / 0.981 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.194, allocations: 37.64 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1943, allocations: 104 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.734e-06/0.1943, allocations: 8 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.733e-06/0.1943, allocations: 0 / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.879e-06/0.1944, allocations: 0 / 0.9812 GB, free: 25.7 MB / 0.6198 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.001029/0.1954, allocations: 484.1 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.1955, allocations: 8.031 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.1956, allocations: 15.89 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1958, allocations: 186.8 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.1958, allocations: 7.938 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.1959, allocations: 8 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.1963, allocations: 81.64 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1964, allocations: 0 / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.1964, allocations: 4 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-06/0.1964, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1969, allocations: 59.95 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.198, allocations: 332.6 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.1986, allocations: 86.67 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.1987, allocations: 0 / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.1992, allocations: 107.5 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 5.227e-06/0.1992, allocations: 0 / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001027/0.2003, allocations: 185.5 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.2003, allocations: 59.36 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2004, allocations: 130.1 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2005, allocations: 25.7 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.2005, allocations: 96.05 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.2006, allocations: 27.64 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-06/0.2006, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.2006, allocations: 322.8 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2008, allocations: 35.92 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2009, allocations: 75.23 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.201, allocations: 32 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.201, allocations: 3.984 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003236/0.2014, allocations: 137.6 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2014, allocations: 8 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.451e-06/0.2014, allocations: 3.984 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2014, allocations: 4 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2016, allocations: 24.02 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.292e-06/0.2016, allocations: 3.953 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.2018, allocations: 19.92 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.2018, allocations: 4 kB / 0.9836 GB, free: 22.91 MB / 0.6198 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.pulseStart,booleanPulse.pulseStart) * 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.657e-05/0.2019, allocations: 128.6 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.202, allocations: 11.81 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.2024, allocations: 176.6 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2024, allocations: 3.938 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.591e-06/0.2024, allocations: 0 / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.635e-06/0.2024, allocations: 3.953 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.2031, allocations: 454.4 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.87e-06/0.2031, allocations: 4 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.2033, allocations: 12 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.359e-06/0.2033, allocations: 0 / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.2033, allocations: 11.94 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.351e-06/0.2033, allocations: 0 / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-06/0.2033, allocations: 0 / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.2037, allocations: 251.2 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.2037, allocations: 84.95 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.2038, allocations: 4 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2039, allocations: 19.94 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.204, allocations: 7.984 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.204, allocations: 7.984 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.2041, allocations: 103.3 kB / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.8e-07/0.2041, allocations: 0 / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004353/0.2046, allocations: 40 kB / 0.9849 GB, free: 21.52 MB / 0.6198 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.pulseStart) * 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.0003816/0.205, allocations: 165.6 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.2053, allocations: 107.9 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.111e-06/0.2053, allocations: 3.938 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.2055, allocations: 51.97 kB / 0.9852 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.2058, allocations: 15.98 kB / 0.9852 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.2063, allocations: 251.4 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.2065, allocations: 0.6965 MB / 0.9861 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.736e-05/0.2065, allocations: 20.36 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.2066, allocations: 11.44 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.267e-06/0.2066, allocations: 0 / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.005368/0.212, allocations: 1.769 MB / 0.9879 GB, free: 18.4 MB / 0.6198 GB