Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009065/0.0009065, allocations: 185.2 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008391/0.0008391, allocations: 84.92 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003927, allocations: 16.31 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2306, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009834/0.2316, allocations: 482.8 kB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.2334, allocations: 1.56 MB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.2334, allocations: 7.938 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.2335, allocations: 0 / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.2337, allocations: 23.78 kB / 0.9035 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.234, allocations: 131.7 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2341, allocations: 107.7 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2342, allocations: 12 kB / 0.9037 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2343, allocations: 51.83 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.2344, allocations: 39.83 kB / 0.9038 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.2344, allocations: 4 kB / 0.9038 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2346, allocations: 75.94 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.2346, allocations: 19.86 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.2347, allocations: 69.48 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.2349, allocations: 144 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2349, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2349, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2349, allocations: 4 kB / 0.9041 GB, free: 60.77 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006365/0.2355, allocations: 403.2 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2356, allocations: 12.03 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.2356, allocations: 8.844 kB / 0.9045 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.767e-05/0.2357, allocations: 180.2 kB / 0.9047 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.2358, allocations: 34.27 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.2358, allocations: 12.38 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.236, allocations: 107 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.236, allocations: 7.922 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2361, allocations: 4 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2361, allocations: 0 / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.045e-05/0.2362, allocations: 55.91 kB / 0.9049 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.2367, allocations: 0.5165 MB / 0.9054 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.2372, allocations: 143.7 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.2372, allocations: 42.66 kB / 0.9056 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2373, allocations: 11.94 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.2375, allocations: 117.9 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.2375, allocations: 0 / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002785/0.2378, allocations: 145.4 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2378, allocations: 106.9 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.2379, allocations: 129.7 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2379, allocations: 29.7 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.2379, allocations: 84.42 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.238, allocations: 35.55 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.238, allocations: 4 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.2381, allocations: 322.8 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.2381, allocations: 35.98 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.2382, allocations: 35.98 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.2384, allocations: 77.83 kB / 0.9066 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2384, allocations: 0 / 0.9066 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002068/0.2386, allocations: 139.3 kB / 0.9068 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2386, allocations: 6.5 kB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2386, allocations: 0 / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2386, allocations: 0 / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2388, allocations: 19.98 kB / 0.9068 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2388, allocations: 0 / 0.9068 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.2389, allocations: 16 kB / 0.9068 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2389, allocations: 11.92 kB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/0.239, allocations: 125 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.239, allocations: 7.906 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.2392, allocations: 126 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2393, allocations: 4 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2393, allocations: 3.938 kB / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2393, allocations: 0 / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2394, allocations: 217.5 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2394, allocations: 4 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.2395, allocations: 15.98 kB / 0.9073 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2395, allocations: 4 kB / 0.9073 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2396, allocations: 4 kB / 0.9073 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2396, allocations: 4 kB / 0.9073 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2396, allocations: 12.19 kB / 0.9073 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.2398, allocations: 178.5 kB / 0.9075 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.2398, allocations: 101 kB / 0.9076 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.2399, allocations: 7.984 kB / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.24, allocations: 8 kB / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.24, allocations: 19.92 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.24, allocations: 8 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.2401, allocations: 95.27 kB / 0.9077 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2401, allocations: 0 / 0.9077 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002634/0.2404, allocations: 55.92 kB / 0.9078 GB, free: 56.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.2406, allocations: 167 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.2408, allocations: 94.86 kB / 0.908 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2408, allocations: 4 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.2409, allocations: 55.91 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2411, allocations: 14.41 kB / 0.9081 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.2415, allocations: 304.8 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2417, allocations: 0.6965 MB / 0.9091 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.2417, allocations: 19.42 kB / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2417, allocations: 0 / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.003011/0.2447, allocations: 1.801 MB / 0.9108 GB, free: 53.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)