Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.444/2.444, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002405/0.002406, allocations: 180.9 kB / 325.6 MB, free: 2.82 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.598/2.598, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.001147/0.001146, allocations: 98.36 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 13.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003009/0.2206, allocations: 1.199 MB / 0.9 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2224, allocations: 0.7616 MB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.2225, allocations: 0 / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2225, allocations: 0 / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2227, allocations: 19.91 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.2232, allocations: 95.75 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.2233, allocations: 47.88 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.2234, allocations: 11.98 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.2235, allocations: 35.91 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.2236, allocations: 35.83 kB / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.2237, allocations: 4 kB / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.2239, allocations: 67.88 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.2239, allocations: 15.91 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2239, allocations: 41.7 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2241, allocations: 99.83 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2242, allocations: 3.938 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2242, allocations: 0 / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2242, allocations: 0 / 0.9012 GB, free: 63.02 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.0007756/0.225, allocations: 454.7 kB / 0.9017 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.225, allocations: 8.031 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.2251, allocations: 11.86 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2252, allocations: 182.9 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2253, allocations: 4 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.2253, allocations: 7.938 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2255, allocations: 73.59 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2255, allocations: 0 / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.2256, allocations: 7.922 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2256, allocations: 4 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.2258, allocations: 47.97 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.2265, allocations: 312.8 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.2267, allocations: 74.58 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.2267, allocations: 0 / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.227, allocations: 99.42 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.227, allocations: 0 / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0005604/0.2276, allocations: 169.4 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.2277, allocations: 59.39 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2278, allocations: 127.6 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2278, allocations: 25.7 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.2279, allocations: 92.38 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.2279, allocations: 23.66 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.2279, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.228, allocations: 330.8 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2281, allocations: 27.98 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.2283, allocations: 65.12 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2284, allocations: 43.97 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2285, allocations: 0 / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003493/0.2288, allocations: 125.4 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2288, allocations: 8 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2289, allocations: 8.109 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2289, allocations: 4 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.2291, allocations: 23.88 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2291, allocations: 4 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2293, allocations: 11.91 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2293, allocations: 12.36 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 9.627e-05/0.2294, allocations: 121.8 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2294, allocations: 7.906 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.2299, allocations: 161.8 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2299, allocations: 3.938 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/0.2299, allocations: 3.953 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.23, allocations: 0 / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007344/0.2307, allocations: 434.4 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2307, allocations: 0 / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2308, allocations: 8 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2309, allocations: 4 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.2309, allocations: 11.94 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2309, allocations: 0 / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2309, allocations: 0 / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.2313, allocations: 231.3 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.2314, allocations: 89 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.2314, allocations: 4 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2316, allocations: 19.88 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.2317, allocations: 15.98 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2317, allocations: 0 / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.2318, allocations: 101.9 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2318, allocations: 0 / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004547/0.2323, 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.0004544/0.2327, allocations: 175 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.2331, allocations: 79.91 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2331, allocations: 3.938 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.2333, allocations: 51.97 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2336, allocations: 16.17 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.2342, allocations: 235 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2344, allocations: 0.7004 MB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.414e-05/0.2345, allocations: 8.438 kB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.2345, allocations: 11.44 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.2345, allocations: 0 / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.005722/0.2403, allocations: 1.614 MB / 0.9076 GB, free: 56.11 MB / 0.6042 GB