Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001309/0.001309, allocations: 188.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.000844/0.0008439, allocations: 94.36 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004218, allocations: 14.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009811/0.2545, allocations: 449.9 kB / 0.9801 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2562, allocations: 1.488 MB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.2563, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.2563, allocations: 3.938 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.2566, allocations: 19.91 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.2568, allocations: 111.7 kB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.257, allocations: 99.69 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.765e-05/0.2571, allocations: 12 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2572, allocations: 43.84 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.2573, allocations: 39.83 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2573, allocations: 7.938 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2574, allocations: 75.94 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.2575, allocations: 15.92 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.2575, allocations: 45.62 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2577, allocations: 135.9 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2577, allocations: 0 / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2577, allocations: 0 / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2577, allocations: 4 kB / 0.9821 GB, free: 25.04 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.0006306/0.2584, allocations: 407.1 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2584, allocations: 8.031 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.2584, allocations: 46.48 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.2585, allocations: 7.906 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2586, allocations: 179 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.2587, allocations: 29.7 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2587, allocations: 8 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2589, allocations: 104.2 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2589, allocations: 0 / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2589, allocations: 8 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2589, allocations: 0 / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.259, allocations: 47.91 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.2596, allocations: 0.5205 MB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.2601, allocations: 131.8 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.2602, allocations: 50.59 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2602, allocations: 0 / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.2605, allocations: 117.8 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.2605, allocations: 0 / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002969/0.2608, allocations: 141.4 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.2608, allocations: 106.8 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.2609, allocations: 129.8 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2609, allocations: 25.7 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.261, allocations: 96.45 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.261, allocations: 35.55 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.261, allocations: 0 / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.2611, allocations: 322.8 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.2612, allocations: 35.98 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.2613, allocations: 45.7 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.2613, allocations: 32.42 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2614, allocations: 0 / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002019/0.2616, allocations: 133.4 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2616, allocations: 8 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2616, allocations: 0 / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2616, allocations: 3.953 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2617, allocations: 31.86 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2617, allocations: 0 / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.2618, allocations: 12.19 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2619, allocations: 11.92 kB / 0.9848 GB, free: 21.95 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 0.0001057/0.262, allocations: 130.1 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.262, allocations: 7.906 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.2622, allocations: 117.9 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2622, allocations: 7.953 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2623, allocations: 0 / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2623, allocations: 8 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2624, allocations: 217.5 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2624, allocations: 0 / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.2625, allocations: 23.92 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.2625, allocations: 0 / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2625, allocations: 4 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2625, allocations: 0 / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2626, allocations: 3.953 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.2627, allocations: 170.7 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.2628, allocations: 104.8 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2628, allocations: 7.984 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.2629, allocations: 11.94 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.263, allocations: 15.94 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.263, allocations: 4 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.2631, allocations: 100 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2631, allocations: 4 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002493/0.2633, allocations: 59.92 kB / 0.9858 GB, free: 20.87 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.0004765/0.2638, allocations: 0.7507 MB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.264, allocations: 91.91 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.264, allocations: 0 / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.2641, allocations: 51.92 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2643, allocations: 21.62 kB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.2652, allocations: 0.6811 MB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.2654, allocations: 0.7043 MB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.503e-05/0.2654, allocations: 17.09 kB / 0.988 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.2655, allocations: 35.48 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2655, allocations: 0 / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.2788, allocations: 2.74 MB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.279, allocations: 213.7 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/1.903, allocations: 0 / 0.991 GB, free: 15.59 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)