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.551/1.551, allocations: 249.3 MB / 261.9 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 186.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 0.572 GB, free: 10.63 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.001048/0.001048, allocations: 82.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.214e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2578, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8066/1.064, allocations: 132.8 MB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/1.065, allocations: 75.88 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01082/1.076, allocations: 3.412 MB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/1.076, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.076, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.6511 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.0006465/1.076, allocations: 412.7 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.077, allocations: 8.031 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/1.077, allocations: 37.5 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/1.077, allocations: 7.906 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.077, allocations: 178.9 kB / 1.026 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/1.077, allocations: 33.08 kB / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/1.077, allocations: 11.25 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.077, allocations: 97.86 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.077, allocations: 0 / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.077, allocations: 3.984 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.077, allocations: 0 / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/1.077, allocations: 50.05 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/1.078, allocations: 0.5225 MB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/1.078, allocations: 139.7 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/1.078, allocations: 41.2 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/1.079, allocations: 0 / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/1.079, allocations: 122.6 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/1.079, allocations: 0 / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.000282/1.079, allocations: 114.6 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/1.079, allocations: 110.4 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/1.079, allocations: 110.7 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.079, allocations: 33.39 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/1.079, allocations: 95.84 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/1.079, allocations: 35.3 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/1.079, allocations: 3.375 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.079, allocations: 318.1 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/1.08, allocations: 33.12 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/1.08, allocations: 35.77 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.728e-05/1.08, allocations: 35.56 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.08, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002039/1.08, allocations: 124.9 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.08, allocations: 4 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.08, allocations: 4 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.08, allocations: 0 / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.08, allocations: 27.5 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.08, allocations: 0 / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/1.08, allocations: 15.92 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/1.08, allocations: 4.062 kB / 1.028 GB, free: 12.21 MB / 0.6511 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 () * 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.0001061/1.08, allocations: 117.6 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/1.08, allocations: 11.72 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/1.081, allocations: 118.8 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.081, allocations: 4 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.081, allocations: 3.953 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.081, allocations: 0 / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/1.081, allocations: 216.9 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.081, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/1.081, allocations: 23.73 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.081, allocations: 4 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.081, allocations: 7.938 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.081, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.081, allocations: 4 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/1.081, allocations: 197.8 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/1.081, allocations: 107.7 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/1.081, allocations: 14.2 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/1.082, allocations: 7.25 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/1.082, allocations: 11.98 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.082, allocations: 10.86 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.442e-05/1.082, allocations: 93.84 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.082, allocations: 0 / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003116/1.082, allocations: 67.42 kB / 1.029 GB, free: 11.2 MB / 0.6511 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) * 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.0006867/1.083, allocations: 0.9248 MB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001951/1.083, allocations: 88.06 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.083, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/1.083, allocations: 53.86 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/1.083, allocations: 7.5 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/1.084, allocations: 222.1 kB / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/1.084, allocations: 0.7043 MB / 1.031 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.67e-05/1.084, allocations: 16.67 kB / 1.031 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/1.084, allocations: 30.17 kB / 1.031 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.084, allocations: 3.938 kB / 1.031 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/1.098, allocations: 2.702 MB / 1.033 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/1.098, allocations: 177.3 kB / 1.033 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.622, allocations: 0 / 1.033 GB, free: 6.379 MB / 0.6511 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)