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.496/1.496, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001275/0.001276, allocations: 169.1 kB / 326.5 MB, free: 2.238 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.791/1.791, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.001082/0.001082, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 9.562 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00121/0.3247, allocations: 461.4 kB / 0.9006 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.3267, allocations: 1.52 MB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.3268, allocations: 0 / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.3269, allocations: 3.938 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.3271, allocations: 19.95 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.3274, allocations: 123.6 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3275, allocations: 71.86 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3277, allocations: 12 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3278, allocations: 47.83 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.328, allocations: 39.89 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.328, allocations: 7.984 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3281, allocations: 71.89 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.3282, allocations: 11.98 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3282, allocations: 41.64 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3285, allocations: 143.9 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3285, allocations: 0 / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3285, allocations: 8 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3285, allocations: 0 / 0.9026 GB, free: 61.26 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.000697/0.3292, allocations: 403.1 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3293, allocations: 8.031 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.3293, allocations: 42.55 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.3294, allocations: 15.86 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3295, allocations: 174.9 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.3296, allocations: 33.7 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3296, allocations: 15.97 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3298, allocations: 94.48 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3298, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3298, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3298, allocations: 8 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.3299, allocations: 51.89 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3305, allocations: 0.5282 MB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.331, allocations: 127.9 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.331, allocations: 11.98 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.3312, allocations: 105.9 kB / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.504e-06/0.3312, allocations: 0 / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.000302/0.3315, allocations: 149.5 kB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3316, allocations: 110.9 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.3317, allocations: 125.8 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3317, allocations: 33.7 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.3318, allocations: 96.39 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3318, allocations: 31.55 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.3318, allocations: 0 / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.3319, allocations: 318.8 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.332, allocations: 35.98 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.332, allocations: 32.97 kB / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.3321, allocations: 45.25 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3321, allocations: 0 / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001997/0.3323, allocations: 133.5 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3324, allocations: 6.812 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3324, allocations: 4.047 kB / 0.9053 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3324, allocations: 7.953 kB / 0.9053 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3325, allocations: 19.98 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3325, allocations: 0 / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.3326, allocations: 15.98 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3327, allocations: 8 kB / 0.9053 GB, free: 58.23 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.294e-05/0.3328, allocations: 119.8 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.3328, allocations: 15.89 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.333, allocations: 118 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.333, allocations: 11.95 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.333, allocations: 0 / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3331, allocations: 3.984 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.3332, allocations: 213.6 kB / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3332, allocations: 0 / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.3333, allocations: 16 kB / 0.9058 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3333, allocations: 4 kB / 0.9058 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3334, allocations: 7.984 kB / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3334, allocations: 4 kB / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3334, allocations: 3.953 kB / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.3336, allocations: 199.7 kB / 0.906 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3337, allocations: 104.9 kB / 0.9061 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3337, allocations: 7.953 kB / 0.9061 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.3338, allocations: 15.98 kB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.3339, allocations: 11.98 kB / 0.9061 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.3339, allocations: 4 kB / 0.9061 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.3339, allocations: 99.27 kB / 0.9062 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3339, allocations: 0 / 0.9062 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002585/0.3342, allocations: 55.94 kB / 0.9063 GB, free: 57.12 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.0005596/0.3348, allocations: 0.9319 MB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.335, allocations: 97.72 kB / 0.9073 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.335, allocations: 0 / 0.9073 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.3351, allocations: 55.92 kB / 0.9074 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3352, allocations: 12 kB / 0.9074 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.3359, allocations: 0.4939 MB / 0.9078 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.336, allocations: 0.7004 MB / 0.9085 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.448e-05/0.3361, allocations: 20.67 kB / 0.9085 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.3362, allocations: 31.42 kB / 0.9086 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.3362, allocations: 3.938 kB / 0.9086 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.3512, allocations: 2.725 MB / 0.9112 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.3515, allocations: 212.9 kB / 0.9114 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.2, allocations: 3.938 kB / 0.9114 GB, free: 51.84 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)