Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.522/2.522, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 167.1 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.602/2.602, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 104 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 10.84 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2482, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001872/0.2501, allocations: 1.203 MB / 0.9 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.2523, allocations: 0.7577 MB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.2525, allocations: 4 kB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2525, allocations: 0 / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.2527, allocations: 19.89 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.2535, allocations: 87.77 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.2537, allocations: 55.86 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.2538, allocations: 12 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.254, allocations: 39.89 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.2541, allocations: 31.84 kB / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.2542, allocations: 0 / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.2545, allocations: 71.86 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.2546, allocations: 15.92 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.2547, allocations: 37.7 kB / 0.9011 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.255, allocations: 103.8 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2551, allocations: 4 kB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2551, allocations: 0 / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2551, allocations: 0 / 0.9012 GB, free: 63.01 MB / 0.6042 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.001241/0.2564, allocations: 446.8 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.2565, allocations: 8.031 kB / 0.9017 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.2566, allocations: 11.86 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2568, allocations: 192.7 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.2568, allocations: 0 / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.2569, allocations: 7.938 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.2572, allocations: 77.59 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2573, allocations: 0 / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2573, allocations: 3.984 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2573, allocations: 0 / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.2577, allocations: 43.97 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2588, allocations: 324.8 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.2592, allocations: 66.58 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.2593, allocations: 8 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.2597, allocations: 95.2 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 6.362e-06/0.2598, allocations: 0 / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0009303/0.2607, allocations: 169.4 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.2608, allocations: 55.41 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2609, allocations: 129.8 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.261, allocations: 25.7 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.2611, allocations: 92.38 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.2611, allocations: 27.8 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.2612, allocations: 3.938 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.2612, allocations: 318.8 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.2614, allocations: 31.98 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.2617, allocations: 71.62 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.262, allocations: 39.97 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.2621, allocations: 4 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000669/0.2627, allocations: 125.4 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.2628, allocations: 7.984 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.2628, allocations: 7.984 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.2629, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2631, allocations: 28 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.2632, allocations: 8 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.2634, allocations: 11.91 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.2635, allocations: 7.984 kB / 0.9036 GB, free: 60.37 MB / 0.6042 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 0.0001427/0.2636, allocations: 124.1 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.2637, allocations: 11.84 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/0.2644, allocations: 153.9 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.2645, allocations: 8 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2645, allocations: 3.953 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2645, allocations: 0 / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.2657, allocations: 430.8 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.2657, allocations: 0 / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2659, allocations: 8 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/0.2659, allocations: 0 / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.266, allocations: 19.88 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.266, allocations: 0 / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.266, allocations: 0 / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.2667, allocations: 231.3 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.2668, allocations: 89 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.2668, allocations: 4 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.2671, allocations: 19.88 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.2672, allocations: 7.984 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.2673, allocations: 4 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.929e-05/0.2674, allocations: 99.27 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.52e-07/0.2674, allocations: 4 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007874/0.2682, allocations: 43.98 kB / 0.9048 GB, free: 59.03 MB / 0.6042 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.0006047/0.2689, allocations: 164.7 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006432/0.2695, allocations: 87.84 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2696, allocations: 0 / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.2699, allocations: 47.97 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.2705, allocations: 11.98 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/0.2713, allocations: 235.2 kB / 0.9053 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2715, allocations: 0.7043 MB / 0.906 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.2717, allocations: 8.438 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.2718, allocations: 15.44 kB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/0.2718, allocations: 0 / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.008758/0.2806, allocations: 1.621 MB / 0.9076 GB, free: 56.1 MB / 0.6042 GB