Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.746/2.746, allocations: 287.9 MB / 302.9 MB, free: 8.242 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.001425/0.001425, allocations: 191.2 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.044/2.044, allocations: 205.4 MB / 0.6301 GB, free: 10.32 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.001051/0.001051, allocations: 96.09 kB / 0.7434 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1952, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001489/0.1967, allocations: 1.203 MB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1982, allocations: 0.7464 MB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.1983, allocations: 0 / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.1983, allocations: 0 / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.1984, allocations: 19.91 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.1988, allocations: 95.69 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.1989, allocations: 55.88 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.199, allocations: 8 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1992, allocations: 35.89 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.1992, allocations: 35.83 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1993, allocations: 4 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1994, allocations: 63.94 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.1995, allocations: 19.91 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.1995, allocations: 33.7 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1997, allocations: 108 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.122e-06/0.1997, allocations: 0 / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.1997, allocations: 0 / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.235e-06/0.1998, allocations: 3.938 kB / 0.9811 GB, free: 25.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006202/0.2004, allocations: 446.5 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2004, allocations: 15.97 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.2005, allocations: 7.906 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2006, allocations: 186.8 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2006, allocations: 4 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2007, allocations: 4 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2009, allocations: 69.66 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2009, allocations: 11.92 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2009, allocations: 0 / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-06/0.2009, allocations: 4 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.2011, allocations: 47.97 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.2017, allocations: 316.7 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2019, allocations: 74.58 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2019, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.2022, allocations: 91.36 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.901e-06/0.2022, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004781/0.2027, allocations: 165.5 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2027, allocations: 59.36 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.2028, allocations: 129.7 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2029, allocations: 25.7 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.2029, allocations: 92.38 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.203, allocations: 27.84 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-06/0.203, allocations: 0 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.203, allocations: 319.2 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-05/0.2032, allocations: 43.84 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2033, allocations: 65.14 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2034, allocations: 39.97 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.819e-06/0.2034, allocations: 3.938 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003076/0.2037, allocations: 129.4 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2038, allocations: 8 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.748e-06/0.2038, allocations: 0 / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2038, allocations: 8.125 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.204, allocations: 23.92 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.608e-06/0.204, allocations: 3.953 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2041, allocations: 19.92 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2042, allocations: 4 kB / 0.9835 GB, free: 23.07 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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.126e-05/0.2043, allocations: 118.5 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.2043, allocations: 7.906 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.2047, allocations: 153.9 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-06/0.2047, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.593e-06/0.2047, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-06/0.2047, allocations: 7.891 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.2054, allocations: 434.3 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-06/0.2054, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.2055, allocations: 16 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.254e-06/0.2055, allocations: 0 / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2056, allocations: 3.984 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2056, allocations: 3.953 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-06/0.2056, allocations: 0 / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.2059, allocations: 231.3 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.206, allocations: 92.94 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.206, allocations: 4 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2062, allocations: 11.98 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.2063, allocations: 15.94 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.2063, allocations: 12 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.2064, allocations: 93.89 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.06e-07/0.2064, allocations: 0 / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004228/0.2068, allocations: 43.98 kB / 0.9847 GB, free: 21.75 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * 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.0003768/0.2072, allocations: 163.9 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.2075, allocations: 95.77 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.807e-06/0.2075, allocations: 0 / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.2077, allocations: 55.91 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.208, allocations: 12.23 kB / 0.985 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.2085, allocations: 235 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2086, allocations: 0.6965 MB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.2087, allocations: 12.44 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.2087, allocations: 15.42 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of SimCode: time 3.217e-06/0.2088, allocations: 0 / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.005189/0.214, allocations: 1.617 MB / 0.9875 GB, free: 18.82 MB / 0.6198 GB