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: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.462/1.462, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.0009683/0.0009684, allocations: 188.7 kB / 371.1 MB, free: 10.82 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.269/1.269, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007339/0.000734, allocations: 96.66 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003216, allocations: 16.06 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0006862/0.1574, allocations: 453.7 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1588, allocations: 1.484 MB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.1588, allocations: 0 / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1589, allocations: 3.938 kB / 0.9806 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.159, allocations: 23.84 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1593, allocations: 107.7 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.1594, allocations: 99.7 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.1595, allocations: 12 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.1596, allocations: 39.84 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.1597, allocations: 47.81 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1597, allocations: 4 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1598, allocations: 63.95 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1598, allocations: 11.98 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.1599, allocations: 45.64 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.16, allocations: 143.9 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.16, allocations: 0 / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.16, allocations: 0 / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.1601, allocations: 0 / 0.9812 GB, free: 25.54 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.0004897/0.1605, allocations: 411.2 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1606, allocations: 8.031 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.1606, allocations: 34.75 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.1607, allocations: 8.844 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.953e-05/0.1607, allocations: 188.1 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.1608, allocations: 38.2 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1608, allocations: 8.375 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.161, allocations: 109 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.161, allocations: 4 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.161, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.161, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.1611, allocations: 47.92 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1615, allocations: 0.5282 MB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.1619, allocations: 131.7 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.162, allocations: 46.66 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.162, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.1622, allocations: 109.9 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1622, allocations: 4 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002378/0.1624, allocations: 141.5 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1625, allocations: 102.8 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.1625, allocations: 137.7 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1625, allocations: 25.7 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.1626, allocations: 96.39 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1626, allocations: 35.55 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.1626, allocations: 0 / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.1627, allocations: 326.9 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.1627, allocations: 31.98 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.1628, allocations: 53.62 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1629, allocations: 73.7 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.163, allocations: 4 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001865/0.1631, allocations: 125.5 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1632, allocations: 4 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1632, allocations: 4 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1632, allocations: 4 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1633, allocations: 15.98 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1633, allocations: 7.938 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.1634, allocations: 19.77 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1634, allocations: 8 kB / 0.984 GB, free: 22.39 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 6.19e-05/0.1635, allocations: 125.8 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.1635, allocations: 15.92 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.1637, allocations: 114.1 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1637, allocations: 0 / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1637, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1637, allocations: 7.922 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1639, allocations: 217.5 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1639, allocations: 4 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.164, allocations: 19.94 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.164, allocations: 3.938 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.164, allocations: 12.3 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.164, allocations: 4 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.164, allocations: 4 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1642, allocations: 166.6 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1642, allocations: 104.9 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1642, allocations: 4 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1643, allocations: 11.98 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.1644, allocations: 19.86 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1644, allocations: 8 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.1644, allocations: 101.3 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1644, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002146/0.1647, allocations: 51.94 kB / 0.9849 GB, free: 21.3 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.0003813/0.165, allocations: 0.7523 MB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1652, allocations: 91.89 kB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1652, allocations: 4 kB / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.1653, allocations: 51.92 kB / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.1655, allocations: 15.94 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.1663, allocations: 0.6929 MB / 0.9865 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.1664, allocations: 0.6965 MB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.987e-05/0.1665, allocations: 21.09 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.1666, allocations: 31.48 kB / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.1666, allocations: 0 / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.1777, allocations: 2.719 MB / 0.9899 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/0.1779, allocations: 211.4 kB / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.421/1.599, allocations: 0 / 0.9901 GB, free: 16.04 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)