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.478/1.478, allocations: 288.4 MB / 303.6 MB, free: 8.078 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.001028/0.001028, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.224/1.224, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0007141/0.0007141, allocations: 98.27 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 14.84 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0006764/0.1575, allocations: 445.9 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1588, allocations: 1.496 MB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.1589, allocations: 3.938 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1589, allocations: 0 / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.159, allocations: 23.84 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1593, allocations: 111.7 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.1594, allocations: 95.69 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.1595, allocations: 16 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.849e-05/0.1595, allocations: 47.84 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.1596, allocations: 43.83 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1596, allocations: 0 / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1598, allocations: 67.95 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.1598, allocations: 19.91 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.1598, allocations: 61.55 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.16, allocations: 143.9 kB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.16, allocations: 0 / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/0.16, allocations: 0 / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.16, allocations: 0 / 0.9827 GB, free: 24.65 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.0004839/0.1605, allocations: 403.2 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1605, allocations: 8.031 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.1606, allocations: 46.69 kB / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.1606, allocations: 8.844 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.1607, allocations: 188.1 kB / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.1607, allocations: 30.27 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.1608, allocations: 12.38 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1609, allocations: 101.9 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1609, allocations: 4 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1609, allocations: 4 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1609, allocations: 0 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.327e-05/0.161, allocations: 51.91 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.1615, allocations: 0.5204 MB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.1619, allocations: 131.8 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.1619, allocations: 46.66 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.162, allocations: 0 / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.1621, allocations: 121.8 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1621, allocations: 0 / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002407/0.1624, allocations: 137.5 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1624, allocations: 102.8 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.1625, allocations: 133.8 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1625, allocations: 29.77 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1626, allocations: 96.33 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1626, allocations: 39.61 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.1626, allocations: 0 / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.1626, allocations: 326.8 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.1627, allocations: 35.92 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.764e-05/0.1628, allocations: 45.7 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1629, allocations: 85.69 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1629, allocations: 0 / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001825/0.1631, allocations: 121.5 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1631, allocations: 7.984 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1632, allocations: 0 / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1632, allocations: 4 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1633, allocations: 15.98 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1633, allocations: 7.938 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.1634, allocations: 19.72 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1634, allocations: 15.98 kB / 0.9855 GB, free: 21.49 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.267e-05/0.1635, allocations: 120.9 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.1635, allocations: 8 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.1637, allocations: 113.9 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1637, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1637, allocations: 8 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1637, allocations: 3.938 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1638, allocations: 217.5 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1638, allocations: 0.5938 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.1639, allocations: 19.98 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1639, allocations: 3.938 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1639, allocations: 12 kB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1639, allocations: 0 / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.164, allocations: 4 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.1641, allocations: 174.5 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1642, allocations: 100.9 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1642, allocations: 8 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.1643, allocations: 7.984 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1643, allocations: 23.86 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-06/0.1643, allocations: 4 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.1644, allocations: 103.3 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1644, allocations: 0 / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002175/0.1646, allocations: 55.92 kB / 0.9864 GB, free: 20.42 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.000385/0.165, allocations: 0.7556 MB / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1652, allocations: 92.97 kB / 0.9872 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1652, allocations: 0 / 0.9872 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.1653, allocations: 47.92 kB / 0.9873 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.1655, allocations: 24.69 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.1662, allocations: 0.6813 MB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.1663, allocations: 0.7005 MB / 0.9887 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.583e-05/0.1664, allocations: 16.81 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1665, allocations: 31.48 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1665, allocations: 4 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.1775, allocations: 2.724 MB / 0.9914 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001145/0.1776, allocations: 212.2 kB / 0.9916 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.768, allocations: 3.656 kB / 0.9916 GB, free: 15.16 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)