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.625/1.625, allocations: 252 MB / 267.3 MB, free: 10.84 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.001498/0.001498, allocations: 168.3 kB / 327 MB, free: 2.105 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.961/1.961, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.00101/0.00101, allocations: 88.39 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 8.531 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00107/0.2294, allocations: 482.7 kB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2314, allocations: 1.568 MB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.2315, allocations: 0 / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.2315, allocations: 3.938 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.2317, allocations: 27.84 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.232, allocations: 130 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2321, allocations: 103.8 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.2322, allocations: 15.94 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.2323, allocations: 43.83 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.63e-05/0.2324, allocations: 39.84 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2324, allocations: 8 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.2326, allocations: 83.92 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.2326, allocations: 15.92 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.2327, allocations: 73.42 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2329, allocations: 179.8 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2329, allocations: 0 / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2329, allocations: 0 / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.233, allocations: 0 / 0.9036 GB, free: 60.64 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.0005816/0.2335, allocations: 407.3 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2336, allocations: 12.03 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2336, allocations: 38.73 kB / 0.904 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.2337, allocations: 8.844 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.53e-05/0.2338, allocations: 172.2 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.2338, allocations: 42.25 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2339, allocations: 8.375 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.234, allocations: 104.1 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.234, allocations: 0 / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.2341, allocations: 4 kB / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2341, allocations: 0 / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.2342, allocations: 47.91 kB / 0.9044 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.2347, allocations: 0.5282 MB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.2351, allocations: 139.7 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.2352, allocations: 54.58 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2352, allocations: 3.938 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.2354, allocations: 113.9 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.2354, allocations: 0 / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002775/0.2357, allocations: 141.4 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.2358, allocations: 106.8 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.2358, allocations: 133.7 kB / 0.9056 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2359, allocations: 37.77 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.2359, allocations: 92.41 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.2359, allocations: 31.62 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.2359, allocations: 0 / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.236, allocations: 322.8 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.2361, allocations: 35.98 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.2362, allocations: 39.98 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2363, allocations: 74.39 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2363, allocations: 0 / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002013/0.2365, allocations: 138.7 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2365, allocations: 4 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2365, allocations: 0 / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2366, allocations: 4 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2367, allocations: 15.98 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2367, allocations: 7.938 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.2368, allocations: 19.83 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2368, allocations: 4 kB / 0.9064 GB, free: 57.5 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.2369, allocations: 131.8 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.2369, allocations: 4 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.2371, allocations: 121.8 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2371, allocations: 0 / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2371, allocations: 4 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2371, allocations: 7.938 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.2373, allocations: 209.6 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2373, allocations: 0 / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.2374, allocations: 23.98 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2374, allocations: 0 / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2374, allocations: 4.312 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.2374, allocations: 4 kB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2374, allocations: 0 / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.2376, allocations: 193.6 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.2377, allocations: 96.98 kB / 0.9071 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.2377, allocations: 8 kB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.2378, allocations: 7.984 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.2378, allocations: 19.92 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2378, allocations: 7.984 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.2379, allocations: 99.27 kB / 0.9073 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2379, allocations: 4 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002329/0.2381, allocations: 55.94 kB / 0.9073 GB, free: 56.41 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.0004547/0.2386, allocations: 0.7535 MB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.2388, allocations: 107.8 kB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2388, allocations: 4 kB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.2389, allocations: 47.92 kB / 0.9082 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2391, allocations: 15.94 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2403, allocations: 1.573 MB / 0.9098 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2405, allocations: 0.7078 MB / 0.9105 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.801e-05/0.2405, allocations: 12.56 kB / 0.9105 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.2406, allocations: 35.42 kB / 0.9105 GB, free: 53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2406, allocations: 0 / 0.9105 GB, free: 53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2526, allocations: 2.681 MB / 0.9131 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.2529, allocations: 227.9 kB / 0.9133 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.032, allocations: 0 / 0.9133 GB, free: 50.24 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)