Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.664/2.664, 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.001535/0.001535, allocations: 188 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.409/2.409, allocations: 205.4 MB / 0.5766 GB, free: 20.7 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: 104.4 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 11.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2267, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001695/0.2284, allocations: 1.142 MB / 0.9 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2301, allocations: 0.837 MB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.2302, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.2303, allocations: 7.922 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.2305, allocations: 15.97 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.2309, allocations: 115.6 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.2311, allocations: 67.86 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2312, allocations: 11.98 kB / 0.901 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2313, allocations: 39.91 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.2314, allocations: 43.83 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.2315, allocations: 0 / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.2317, allocations: 67.95 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.2317, allocations: 19.91 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.2318, allocations: 45.67 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.232, allocations: 143.8 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2321, allocations: 4 kB / 0.9014 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2321, allocations: 0 / 0.9014 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2321, allocations: 0 / 0.9014 GB, free: 62.9 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007765/0.2329, allocations: 411 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2329, allocations: 11.97 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.233, allocations: 11.86 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2331, allocations: 170.9 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.2332, allocations: 41.69 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2332, allocations: 4 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2335, allocations: 105.8 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2335, allocations: 0 / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.2335, allocations: 4 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2336, allocations: 0 / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2338, allocations: 47.94 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.2345, allocations: 0.5128 MB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.2352, allocations: 135.8 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2353, allocations: 8 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.2355, allocations: 113.9 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.405e-06/0.2355, allocations: 0 / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004448/0.236, allocations: 137.5 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2361, allocations: 114.9 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2362, allocations: 125.8 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2362, allocations: 33.69 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.2363, allocations: 88.33 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2363, allocations: 35.55 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.2363, allocations: 4 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.2364, allocations: 314.8 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2366, allocations: 35.92 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.2367, allocations: 59.03 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2369, allocations: 36 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2369, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003539/0.2372, allocations: 125.5 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2373, allocations: 10.14 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2373, allocations: 0 / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2373, allocations: 8.234 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2376, allocations: 15.98 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2376, allocations: 8 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.2378, allocations: 8 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.2378, allocations: 8 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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 0.0001129/0.2379, allocations: 132 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.238, allocations: 11.89 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.2383, allocations: 125.8 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2383, allocations: 7.984 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2384, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2384, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.2386, allocations: 221.4 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2386, allocations: 0 / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2388, allocations: 19.98 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.2388, allocations: 4 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2388, allocations: 4 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.2389, allocations: 3.953 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2389, allocations: 11.94 kB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.2392, allocations: 186.1 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.2393, allocations: 101 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.2393, allocations: 4 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2395, allocations: 15.98 kB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.2396, allocations: 11.98 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2396, allocations: 8 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.2397, allocations: 95.27 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-07/0.2397, allocations: 0 / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003985/0.2401, allocations: 55.92 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002898/0.2404, allocations: 157.2 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.2407, allocations: 94.44 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2408, allocations: 0 / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.2409, allocations: 51.92 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2411, allocations: 11.98 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.2418, allocations: 279.3 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.2419, allocations: 0.7043 MB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000127/0.2421, allocations: 17.11 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.2422, allocations: 23.42 kB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/0.2422, allocations: 0 / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.005737/0.2479, allocations: 1.554 MB / 0.9078 GB, free: 55.86 MB / 0.6042 GB