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.337/1.337, allocations: 251.5 MB / 266.7 MB, free: 11 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.0009118/0.0009118, allocations: 172.4 kB / 325.8 MB, free: 2.668 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.544/1.544, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007028/0.0007029, allocations: 92.59 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002917, allocations: 10.34 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0007775/0.1747, allocations: 482.5 kB / 0.8967 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1762, allocations: 1.585 MB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1762, allocations: 0 / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.1762, allocations: 0 / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1764, allocations: 27.84 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1766, allocations: 131.7 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.1767, allocations: 111.6 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.1768, allocations: 15.98 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.1769, allocations: 47.83 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.177, allocations: 43.83 kB / 0.8986 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.177, allocations: 4 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1771, allocations: 79.88 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.1771, allocations: 15.92 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1772, allocations: 39.84 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1774, allocations: 183.4 kB / 0.8989 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1774, allocations: 4 kB / 0.8989 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1774, allocations: 0 / 0.8989 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1774, allocations: 0 / 0.8989 GB, free: 65.28 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.000467/0.1779, allocations: 408.5 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1779, allocations: 12.02 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.178, allocations: 42.69 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.178, allocations: 8.844 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.1781, allocations: 172.2 kB / 0.8995 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.1781, allocations: 38.25 kB / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1781, allocations: 12.31 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1783, allocations: 96.17 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1783, allocations: 0 / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1783, allocations: 11.98 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1783, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.1784, allocations: 47.91 kB / 0.8997 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.1788, allocations: 0.5205 MB / 0.9002 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.1792, allocations: 139.7 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.1793, allocations: 50.59 kB / 0.9004 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1793, allocations: 4 kB / 0.9004 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.1795, allocations: 109.9 kB / 0.9005 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1795, allocations: 3.938 kB / 0.9005 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002388/0.1797, allocations: 145.4 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1797, allocations: 114.9 kB / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.1798, allocations: 125.8 kB / 0.9009 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1798, allocations: 33.7 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.1799, allocations: 92.34 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1799, allocations: 27.69 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.1799, allocations: 25.7 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.18, allocations: 322.8 kB / 0.9013 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.18, allocations: 35.98 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.1801, allocations: 37.89 kB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1803, allocations: 84.78 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1803, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001844/0.1804, allocations: 130.8 kB / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.1805, allocations: 4 kB / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1805, allocations: 0 / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.1805, allocations: 0 / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1806, allocations: 20.17 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1806, allocations: 0 / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.1807, allocations: 27.78 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1807, allocations: 11.92 kB / 0.9017 GB, free: 62.11 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 (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 5.871e-05/0.1808, allocations: 121.8 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.1808, allocations: 4 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.181, allocations: 117.9 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.181, allocations: 4 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.181, allocations: 0 / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.181, allocations: 3.938 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.1811, allocations: 221.5 kB / 0.9021 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1811, allocations: 7.938 kB / 0.9021 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.1812, allocations: 15.98 kB / 0.9022 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1812, allocations: 4 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1812, allocations: 4 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1812, allocations: 7.938 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1812, allocations: 0 / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1814, allocations: 180.9 kB / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.1815, allocations: 101 kB / 0.9024 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1815, allocations: 0 / 0.9024 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1816, allocations: 16.3 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.1816, allocations: 15.92 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1816, allocations: 16 kB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.1817, allocations: 97.95 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1817, allocations: 4 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002197/0.1819, allocations: 55.92 kB / 0.9026 GB, free: 61.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 (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.0003876/0.1823, allocations: 0.7584 MB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.1825, allocations: 91.97 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1825, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.1826, allocations: 51.92 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1827, allocations: 25.34 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1839, allocations: 1.562 MB / 0.9051 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.932e-05/0.184, allocations: 0.7117 MB / 0.9058 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.3e-05/0.1841, allocations: 16.55 kB / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.1841, allocations: 27.42 kB / 0.9058 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1841, allocations: 0 / 0.9058 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08237/0.2665, allocations: 2.693 MB / 0.9084 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.2667, allocations: 228.4 kB / 0.9086 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.855, allocations: 0 / 0.9086 GB, free: 54.86 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)