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 2.587/2.587, allocations: 287.3 MB / 302.3 MB, free: 8.195 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.001635/0.001635, allocations: 184 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001095/0.001095, allocations: 90.02 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006549/0.0006552, allocations: 9.812 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2134, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009704/0.2145, allocations: 445.7 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.2165, allocations: 1.5 MB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.2167, allocations: 0 / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.2167, allocations: 7.938 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.2169, allocations: 15.97 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.2173, allocations: 111.7 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2174, allocations: 63.86 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2176, allocations: 11.98 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2177, allocations: 43.91 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2178, allocations: 43.81 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2179, allocations: 4 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2181, allocations: 71.91 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.2181, allocations: 19.89 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.2182, allocations: 37.7 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.2184, allocations: 135.9 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.2185, allocations: 3.938 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2185, allocations: 0 / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2185, allocations: 0 / 0.9807 GB, free: 25.78 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.00077/0.2193, allocations: 407.1 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2193, allocations: 12.02 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.2194, allocations: 38.56 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.2194, allocations: 15.84 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2196, allocations: 179 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.2197, allocations: 37.7 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.2197, allocations: 4 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.2199, allocations: 105.8 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2199, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.22, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.22, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2201, allocations: 51.91 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.2208, allocations: 0.5166 MB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.2215, allocations: 135.8 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.2216, allocations: 8.062 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.2219, allocations: 129.7 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.865e-06/0.2219, allocations: 0 / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004281/0.2223, allocations: 129.5 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.2224, allocations: 114.8 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2225, allocations: 125.8 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2226, allocations: 29.83 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.2226, allocations: 100.2 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.2227, allocations: 31.56 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.2227, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.2228, allocations: 322.8 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2229, allocations: 31.98 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2231, allocations: 49.69 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2232, allocations: 32 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2232, allocations: 4 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003609/0.2236, allocations: 133.4 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2236, allocations: 4 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2236, allocations: 3.953 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.2237, allocations: 4 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.2239, allocations: 15.98 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2239, allocations: 4 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.2241, allocations: 11.92 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2241, allocations: 4 kB / 0.9834 GB, free: 22.74 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 0.000113/0.2242, allocations: 129.8 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.2243, allocations: 8.141 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.2246, allocations: 126.1 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2246, allocations: 3.953 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2247, allocations: 8 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2247, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2249, allocations: 217.5 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2249, allocations: 0 / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.2251, allocations: 19.98 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2251, allocations: 0 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2252, allocations: 8 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2252, allocations: 3.938 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2252, allocations: 7.953 kB / 0.9839 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.2255, allocations: 190.2 kB / 0.9841 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.2256, allocations: 108.8 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.2257, allocations: 8 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2258, allocations: 8 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.2259, allocations: 19.92 kB / 0.9842 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.226, allocations: 7.984 kB / 0.9842 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.122e-05/0.226, allocations: 104.3 kB / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.226, allocations: 0 / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003891/0.2264, allocations: 51.94 kB / 0.9844 GB, free: 21.62 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.0007272/0.2272, allocations: 0.9243 MB / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.2275, allocations: 87.95 kB / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2276, allocations: 7.938 kB / 0.9854 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.2277, allocations: 51.86 kB / 0.9854 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2279, allocations: 8 kB / 0.9854 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.2288, allocations: 0.641 MB / 0.9861 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.229, allocations: 0.7004 MB / 0.9867 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.2291, allocations: 25.8 kB / 0.9868 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.2292, allocations: 35.42 kB / 0.9868 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.004e-06/0.2293, allocations: 0 / 0.9868 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.2569, allocations: 2.692 MB / 0.9894 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.2572, allocations: 209.3 kB / 0.9896 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/2.777, allocations: 0 / 0.9896 GB, free: 16.24 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)