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: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 267 MB, free: 10.98 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.001132/0.001132, allocations: 183.5 kB / 326.6 MB, free: 2.227 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.887/1.887, allocations: 205.4 MB / 0.5776 GB, free: 20.28 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.0008609/0.000861, allocations: 93.86 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003695, allocations: 12.78 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2569, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009736/0.2579, allocations: 454.9 kB / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.26, allocations: 1.506 MB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.2601, allocations: 0 / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.2601, allocations: 15.86 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.2603, allocations: 11.86 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.2608, allocations: 123.7 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.261, allocations: 103.7 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2611, allocations: 19.95 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2613, allocations: 39.86 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2614, allocations: 47.81 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2614, allocations: 4 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2616, allocations: 63.95 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.2617, allocations: 15.97 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.2617, allocations: 49.62 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2619, allocations: 140 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.262, allocations: 0 / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.262, allocations: 0 / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.262, allocations: 0 / 0.9028 GB, free: 61.21 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.0006956/0.2627, allocations: 407.1 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2627, allocations: 12.03 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.2628, allocations: 34.56 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.2629, allocations: 15.86 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.263, allocations: 182.8 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.2631, allocations: 33.7 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.2631, allocations: 4 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.2633, allocations: 104.2 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2634, allocations: 3.938 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2634, allocations: 4 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2634, allocations: 4 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2635, allocations: 47.84 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.2642, allocations: 0.5243 MB / 0.9041 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.2647, allocations: 139.7 kB / 0.9043 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.2648, allocations: 46.66 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.2649, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.2651, allocations: 113.8 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.2651, allocations: 8 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003647/0.2655, allocations: 137.5 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.2656, allocations: 114.9 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.2657, allocations: 117.8 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2657, allocations: 33.7 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.2658, allocations: 92.31 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.2658, allocations: 31.55 kB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.2658, allocations: 4 kB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.2659, allocations: 326.9 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.266, allocations: 31.98 kB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.2661, allocations: 36.97 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.2662, allocations: 39.98 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2662, allocations: 0 / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002292/0.2664, allocations: 126.8 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2665, allocations: 8 kB / 0.9055 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2665, allocations: 3.953 kB / 0.9055 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2665, allocations: 4 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2666, allocations: 24.11 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2666, allocations: 3.984 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.2667, allocations: 12 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2668, allocations: 7.922 kB / 0.9055 GB, free: 58.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.647e-05/0.2669, allocations: 127.7 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.2669, allocations: 7.906 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.2671, allocations: 122 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2671, allocations: 7.953 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2671, allocations: 4.062 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2671, allocations: 0 / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2673, allocations: 213.6 kB / 0.906 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2673, allocations: 0 / 0.906 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.983e-05/0.2674, allocations: 27.92 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2674, allocations: 4 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2675, allocations: 4 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2675, allocations: 0 / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2675, allocations: 11.89 kB / 0.9061 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.2677, allocations: 172.3 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.2678, allocations: 96.91 kB / 0.9063 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2678, allocations: 12 kB / 0.9063 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.2679, allocations: 7.984 kB / 0.9063 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.268, allocations: 23.88 kB / 0.9064 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.268, allocations: 4 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.268, allocations: 101.6 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.268, allocations: 0 / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002709/0.2683, allocations: 59.92 kB / 0.9065 GB, free: 57.03 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.0006375/0.269, allocations: 0.7505 MB / 0.9072 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.2692, allocations: 101.7 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2692, allocations: 0 / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.2693, allocations: 51.92 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2696, allocations: 23.94 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2708, allocations: 0.681 MB / 0.9081 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.271, allocations: 0.7006 MB / 0.9088 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.175e-05/0.2711, allocations: 20.53 kB / 0.9088 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.667e-05/0.2711, allocations: 35.42 kB / 0.9088 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2711, allocations: 0 / 0.9088 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.2847, allocations: 2.771 MB / 0.9115 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.2849, allocations: 214 kB / 0.9117 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.919, allocations: 4.062 kB / 0.9117 GB, free: 51.71 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)