Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009589, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005842/0.005843, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004941, allocations: 15.53 kB / 0.6744 GB, free: 25.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0008179/0.2002, allocations: 477.5 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2018, allocations: 1.554 MB / 0.79 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.2019, allocations: 3.938 kB / 0.79 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.2019, allocations: 3.984 kB / 0.79 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2021, allocations: 15.86 kB / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2024, allocations: 143.6 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2025, allocations: 107.6 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.2026, allocations: 15.98 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.2027, allocations: 39.91 kB / 0.7903 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.457e-05/0.2028, allocations: 43.83 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2028, allocations: 4 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.203, allocations: 75.94 kB / 0.7904 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.203, allocations: 27.84 kB / 0.7904 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.2031, allocations: 65.48 kB / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2033, allocations: 187.7 kB / 0.7907 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2033, allocations: 0 / 0.7907 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2033, allocations: 0 / 0.7907 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2033, allocations: 0 / 0.7907 GB, free: 8.746 MB / 0.6075 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.0006054/0.2039, allocations: 415.2 kB / 0.7911 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.204, allocations: 12.03 kB / 0.7911 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.204, allocations: 34.75 kB / 0.7911 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.2041, allocations: 12.83 kB / 0.7911 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2042, allocations: 180.2 kB / 0.7913 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/0.2042, allocations: 34.27 kB / 0.7913 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2043, allocations: 4.375 kB / 0.7913 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.2044, allocations: 115.1 kB / 0.7914 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2045, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2045, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2045, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.919e-05/0.2046, allocations: 51.91 kB / 0.7915 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.2052, allocations: 0.5244 MB / 0.792 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.2056, allocations: 135.7 kB / 0.7921 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.2057, allocations: 46.59 kB / 0.7922 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2057, allocations: 0 / 0.7922 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.2059, allocations: 113.9 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 3.076e-06/0.2059, allocations: 3.984 kB / 0.7923 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002953/0.2062, allocations: 149.4 kB / 0.7924 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.2063, allocations: 106.8 kB / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.2064, allocations: 125.8 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2064, allocations: 29.83 kB / 0.7927 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.2064, allocations: 96.33 kB / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2065, allocations: 35.61 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.2065, allocations: 21.72 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.2066, allocations: 326.8 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.2067, allocations: 31.98 kB / 0.7932 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.2068, allocations: 35.98 kB / 0.7932 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.207, allocations: 91.17 kB / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.207, allocations: 3.938 kB / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002256/0.2072, allocations: 125.6 kB / 0.7934 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2072, allocations: 4 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2072, allocations: 0 / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2073, allocations: 4 kB / 0.7934 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2074, allocations: 19.98 kB / 0.7934 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.2074, allocations: 4 kB / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.2075, allocations: 15.86 kB / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2075, allocations: 4 kB / 0.7935 GB, free: 5.582 MB / 0.6075 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 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 8.942e-05/0.2076, allocations: 130.4 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.2076, allocations: 11.89 kB / 0.7936 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.2078, allocations: 110 kB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2079, allocations: 0 / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2079, allocations: 4 kB / 0.7937 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2079, allocations: 11.92 kB / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.2081, allocations: 221.4 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2081, allocations: 0 / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.602e-05/0.2082, allocations: 16 kB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.2082, allocations: 0 / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2082, allocations: 7.984 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2082, allocations: 3.938 kB / 0.7939 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2082, allocations: 0 / 0.7939 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2084, allocations: 175 kB / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.2085, allocations: 104.9 kB / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2085, allocations: 8 kB / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.2086, allocations: 7.984 kB / 0.7942 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.2087, allocations: 20.16 kB / 0.7943 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2087, allocations: 4 kB / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.2088, allocations: 99.27 kB / 0.7943 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.342e-06/0.2088, allocations: 4 kB / 0.7944 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002504/0.209, allocations: 59.88 kB / 0.7944 GB, free: 4.496 MB / 0.6075 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.0005571/0.2096, allocations: 0.7645 MB / 0.7952 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.2098, allocations: 99.95 kB / 0.7953 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2098, allocations: 0 / 0.7953 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.2099, allocations: 47.92 kB / 0.7953 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.2101, allocations: 26.58 kB / 0.7953 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2116, allocations: 1.572 MB / 0.7969 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2119, allocations: 0.704 MB / 0.7975 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.552e-05/0.2119, allocations: 17.67 kB / 0.7976 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.212, allocations: 35.42 kB / 0.7976 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.212, allocations: 0 / 0.7976 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.2232, allocations: 2.664 MB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.2234, allocations: 219.3 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.831, allocations: 0 / 0.8004 GB, free: 14.32 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)