Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.00137/0.00137, allocations: 177 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 0.6366 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 95.62 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004471, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7924/1.097, allocations: 140 MB / 1.125 GB, free: 34.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.097, allocations: 70.36 kB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01034/1.108, allocations: 3.413 MB / 1.129 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/1.108, allocations: 0 / 1.129 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.48e-05/1.108, allocations: 4.562 kB / 1.129 GB, free: 32.34 MB / 0.7292 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.0006682/1.108, allocations: 426.5 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.108, allocations: 12.02 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/1.108, allocations: 38.45 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/1.108, allocations: 9.969 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.109, allocations: 175.7 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/1.109, allocations: 41.73 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/1.109, allocations: 8 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/1.109, allocations: 95.05 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.109, allocations: 4.562 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.109, allocations: 7.234 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.109, allocations: 4 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/1.109, allocations: 43.02 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/1.11, allocations: 0.5282 MB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/1.11, allocations: 133.4 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/1.11, allocations: 4 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/1.111, allocations: 116.5 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/1.111, allocations: 0 / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0003362/1.111, allocations: 139.7 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/1.111, allocations: 107.5 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/1.111, allocations: 120.5 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.111, allocations: 25.7 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/1.111, allocations: 103.9 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/1.111, allocations: 27.56 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/1.111, allocations: 7.938 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/1.111, allocations: 322.3 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/1.111, allocations: 31.19 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/1.111, allocations: 39.41 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/1.112, allocations: 32 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.112, allocations: 0 / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000226/1.112, allocations: 133.4 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.112, allocations: 4 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.112, allocations: 7.453 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.112, allocations: 4 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/1.112, allocations: 24.06 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.112, allocations: 0 / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/1.112, allocations: 12.45 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.112, allocations: 7.469 kB / 1.131 GB, free: 29.5 MB / 0.7292 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.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 8.623e-05/1.112, allocations: 121.8 kB / 1.131 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/1.112, allocations: 7.906 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/1.112, allocations: 120 kB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.112, allocations: 4 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.112, allocations: 0.625 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.112, allocations: 7.516 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/1.113, allocations: 219 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.113, allocations: 4 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/1.113, allocations: 25.11 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/1.113, allocations: 0 / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/1.113, allocations: 7.609 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.113, allocations: 0 / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.113, allocations: 0 / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/1.113, allocations: 202 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/1.113, allocations: 100.7 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/1.113, allocations: 0.9375 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/1.113, allocations: 15.52 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/1.113, allocations: 15.59 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/1.113, allocations: 11.61 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.434e-05/1.113, allocations: 100.1 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.113, allocations: 0 / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000302/1.114, allocations: 59.94 kB / 1.132 GB, free: 28.46 MB / 0.7292 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.0006076/1.114, allocations: 0.9314 MB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002131/1.115, allocations: 103.1 kB / 1.133 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.115, allocations: 0 / 1.133 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/1.115, allocations: 51.95 kB / 1.133 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/1.115, allocations: 14.09 kB / 1.133 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/1.116, allocations: 497.8 kB / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/1.116, allocations: 0.7066 MB / 1.134 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.036e-05/1.116, allocations: 14.98 kB / 1.134 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/1.116, allocations: 34.89 kB / 1.134 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/1.116, allocations: 0.9375 kB / 1.134 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/1.132, allocations: 2.631 MB / 1.137 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/1.132, allocations: 196.8 kB / 1.137 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.858, allocations: 0 / 1.137 GB, free: 24.42 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)