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 3.204/3.204, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001465/0.001465, allocations: 176.5 kB / 371 MB, free: 10.87 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.297/2.297, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009371/0.0009369, allocations: 93 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000546/0.0005463, allocations: 16.3 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2141, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009726/0.2151, allocations: 457.7 kB / 0.9789 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.2173, allocations: 1.488 MB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.2173, allocations: 4 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2174, allocations: 3.984 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.2176, allocations: 19.8 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.218, allocations: 107.7 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.2181, allocations: 99.7 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.2182, allocations: 19.98 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2183, allocations: 39.84 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2185, allocations: 43.81 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.2185, allocations: 4 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.2187, allocations: 67.97 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.2188, allocations: 19.91 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.2188, allocations: 33.7 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.219, allocations: 139.9 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2191, allocations: 4 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2191, allocations: 0 / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2191, allocations: 0 / 0.9809 GB, free: 25.72 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.0007356/0.2198, allocations: 407 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2199, allocations: 16.02 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.2199, allocations: 42.55 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.22, allocations: 15.86 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2201, allocations: 175 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.2202, allocations: 33.7 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.2202, allocations: 8 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.2205, allocations: 100.2 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2205, allocations: 0 / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2205, allocations: 8 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2205, allocations: 4 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.2207, allocations: 39.97 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.2214, allocations: 0.5243 MB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.2221, allocations: 139.7 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.2222, allocations: 42.67 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2222, allocations: 7.984 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.2225, allocations: 117.7 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.2225, allocations: 0 / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004072/0.2229, allocations: 133.5 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.223, allocations: 114.8 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2231, allocations: 121.8 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2231, allocations: 33.7 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.2232, allocations: 92.39 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.2232, allocations: 31.55 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.2233, allocations: 4 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.2233, allocations: 323 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.2235, allocations: 31.98 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2236, allocations: 53.64 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2238, allocations: 39.92 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2238, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003419/0.2241, allocations: 129.9 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2242, allocations: 9.359 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2242, allocations: 0 / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2242, allocations: 4 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2244, allocations: 27.98 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2244, allocations: 0 / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.2246, allocations: 19.86 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2246, allocations: 0 / 0.9836 GB, free: 22.61 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 9.993e-05/0.2247, allocations: 121.8 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2248, allocations: 7.906 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.2251, allocations: 129.8 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2251, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2251, allocations: 288 / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2252, allocations: 0 / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2254, allocations: 217.5 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2255, allocations: 0 / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.2256, allocations: 24.28 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.2257, allocations: 4 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.2257, allocations: 7.938 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.2257, allocations: 15.94 kB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2257, allocations: 0 / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.226, allocations: 169.1 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.2261, allocations: 104.8 kB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.2262, allocations: 4 kB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2263, allocations: 12 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.2264, allocations: 19.94 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2264, allocations: 11.92 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.2265, allocations: 100.1 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2265, allocations: 0 / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000377/0.2269, allocations: 55.94 kB / 0.9846 GB, free: 21.52 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.0006765/0.2276, allocations: 0.7473 MB / 0.9853 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.2279, allocations: 87.91 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2279, allocations: 4 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2281, allocations: 51.91 kB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2284, allocations: 15.95 kB / 0.9855 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.2298, allocations: 0.6855 MB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.23, allocations: 0.7043 MB / 0.9868 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.2302, allocations: 16.88 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.2303, allocations: 35.48 kB / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2303, allocations: 0 / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2516, allocations: 2.727 MB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.2519, allocations: 210.5 kB / 0.9898 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/2.832, allocations: 0 / 0.9898 GB, free: 16.26 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)