Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.775/2.775, allocations: 287.5 MB / 302.4 MB, free: 8.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 170.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008856/0.0008854, allocations: 94.36 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007579/0.0007581, allocations: 11.7 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2531, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001022/0.2542, allocations: 449.5 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.2564, allocations: 1.492 MB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.2565, allocations: 4 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.2565, allocations: 0 / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.2567, allocations: 23.84 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.2571, allocations: 107.7 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.2573, allocations: 95.7 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2574, allocations: 15.98 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2576, allocations: 39.84 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2577, allocations: 47.81 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.2577, allocations: 4 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.2579, allocations: 63.95 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.258, allocations: 19.92 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.258, allocations: 33.7 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.2583, allocations: 143.9 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2583, allocations: 0 / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2583, allocations: 0 / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2583, allocations: 0 / 0.9808 GB, free: 25.82 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007589/0.2591, allocations: 403.1 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2591, allocations: 16.02 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.2592, allocations: 7.906 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2593, allocations: 178.8 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.2594, allocations: 33.7 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.2594, allocations: 8 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2597, allocations: 104.2 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2597, allocations: 3.938 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2597, allocations: 4 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2598, allocations: 0 / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.2599, allocations: 51.95 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.2607, allocations: 0.5243 MB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.2614, allocations: 135.7 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.2615, allocations: 38.67 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.2615, allocations: 3.984 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.2618, allocations: 121.7 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.2618, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004186/0.2622, allocations: 133.6 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.2623, allocations: 106.8 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2624, allocations: 137.7 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2625, allocations: 33.83 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.2625, allocations: 100.4 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.2626, allocations: 27.56 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.2626, allocations: 4 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.2627, allocations: 314.8 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.2628, allocations: 35.98 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2629, allocations: 49.7 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2631, allocations: 39.92 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2631, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000342/0.2634, allocations: 122 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2635, allocations: 8 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2635, allocations: 3.953 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2635, allocations: 0 / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.2637, allocations: 19.98 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2638, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.2639, allocations: 23.83 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.264, allocations: 8 kB / 0.9835 GB, free: 22.77 MB / 0.6198 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 9.662e-05/0.2641, allocations: 124.7 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2641, allocations: 7.906 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.2644, allocations: 122.1 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2645, allocations: 7.953 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2645, allocations: 7.938 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2645, allocations: 4 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.2647, allocations: 217.5 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2647, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2649, allocations: 23.98 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2649, allocations: 0 / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2649, allocations: 4 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2649, allocations: 0 / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.265, allocations: 3.953 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.2653, allocations: 170.7 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.2654, allocations: 112.8 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2654, allocations: 0 / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2656, allocations: 12 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.2656, allocations: 11.94 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2657, allocations: 11.98 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.2657, allocations: 101.1 kB / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2658, allocations: 0 / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003637/0.2661, allocations: 55.94 kB / 0.9845 GB, free: 21.69 MB / 0.6198 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.0002654/0.2664, allocations: 155.1 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.2667, allocations: 95.94 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2667, allocations: 0 / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2669, allocations: 47.92 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.2672, allocations: 24.16 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.2678, allocations: 267.1 kB / 0.985 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.2679, allocations: 0.7004 MB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.2681, allocations: 17.05 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.2681, allocations: 23.42 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2681, allocations: 0 / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.005919/0.2741, allocations: 1.557 MB / 0.9873 GB, free: 18.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)