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.593/2.593, allocations: 287.3 MB / 302.3 MB, free: 8.379 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.001537/0.001537, allocations: 183.2 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.099/2.099, allocations: 205.4 MB / 0.6295 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.001174/0.001173, allocations: 84.48 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006546/0.0006547, allocations: 22.61 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2285, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.26, allocations: 138.8 MB / 1.114 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.261, allocations: 80.84 kB / 1.114 GB, free: 15.4 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01594/1.277, allocations: 3.332 MB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/1.277, allocations: 0 / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.277, allocations: 0 / 1.117 GB, free: 30.93 MB / 0.698 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.0009391/1.278, allocations: 424.2 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.278, allocations: 11.8 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.604e-05/1.278, allocations: 41.38 kB / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/1.278, allocations: 11.78 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/1.278, allocations: 178.5 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-05/1.278, allocations: 36.77 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/1.278, allocations: 7.719 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/1.279, allocations: 102.8 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.279, allocations: 0 / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/1.279, allocations: 5.625 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.279, allocations: 7.812 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/1.279, allocations: 56.11 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/1.28, allocations: 0.5037 MB / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/1.28, allocations: 136.9 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/1.28, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/1.281, allocations: 116.3 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/1.281, allocations: 0 / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004768/1.281, allocations: 142.2 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/1.281, allocations: 110.4 kB / 1.119 GB, free: 29.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/1.281, allocations: 121 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/1.281, allocations: 28.77 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/1.282, allocations: 93.89 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/1.282, allocations: 32.89 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/1.282, allocations: 0 / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.282, allocations: 323.8 kB / 1.12 GB, free: 28.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/1.282, allocations: 27.16 kB / 1.12 GB, free: 28.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.282, allocations: 52.97 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/1.282, allocations: 38.66 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.282, allocations: 0 / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000393/1.283, allocations: 129.2 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.283, allocations: 3.844 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.283, allocations: 3.844 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.283, allocations: 0 / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/1.283, allocations: 24.78 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.283, allocations: 0 / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/1.283, allocations: 18.06 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/1.283, allocations: 15.22 kB / 1.12 GB, free: 28.79 MB / 0.698 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.booToRea.u) * 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.0001568/1.283, allocations: 119 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/1.283, allocations: 7.719 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/1.284, allocations: 117.7 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.284, allocations: 0 / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/1.284, allocations: 11.86 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.284, allocations: 3.234 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/1.284, allocations: 217.1 kB / 1.12 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.284, allocations: 3.938 kB / 1.12 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/1.284, allocations: 22.53 kB / 1.12 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.284, allocations: 3.844 kB / 1.12 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.284, allocations: 6.781 kB / 1.12 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.284, allocations: 11.72 kB / 1.12 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.284, allocations: 0 / 1.12 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/1.285, allocations: 192.8 kB / 1.121 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/1.285, allocations: 101.5 kB / 1.121 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/1.285, allocations: 7.828 kB / 1.121 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.285, allocations: 7.438 kB / 1.121 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/1.285, allocations: 20.97 kB / 1.121 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/1.285, allocations: 3.969 kB / 1.121 GB, free: 28.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001062/1.285, allocations: 105 kB / 1.121 GB, free: 28.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.285, allocations: 0 / 1.121 GB, free: 28.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004592/1.286, allocations: 57.69 kB / 1.121 GB, free: 28.09 MB / 0.698 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.booToRea.u) * 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.00104/1.287, allocations: 0.9212 MB / 1.122 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003952/1.287, allocations: 83 kB / 1.122 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.287, allocations: 7.188 kB / 1.122 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/1.288, allocations: 48.61 kB / 1.122 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/1.288, allocations: 10.39 kB / 1.122 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/1.289, allocations: 0.6517 MB / 1.122 GB, free: 26.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.289, allocations: 0.7085 MB / 1.123 GB, free: 26.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001465/1.289, allocations: 15.16 kB / 1.123 GB, free: 26.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/1.29, allocations: 35.11 kB / 1.123 GB, free: 26 MB / 0.698 GB Notification: Performance of SimCode: time 1.944e-06/1.29, allocations: 3.938 kB / 1.123 GB, free: 26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/1.317, allocations: 2.608 MB / 1.126 GB, free: 25.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/1.318, allocations: 195.5 kB / 1.126 GB, free: 25.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.773, allocations: 0 / 1.126 GB, free: 25.51 MB / 0.698 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)