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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.934/1.934, 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.001591/0.00159, allocations: 185 kB / 377.1 MB, free: 1.512 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.726/1.726, allocations: 205.4 MB / 0.6367 GB, free: 9.559 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.0009146/0.0009144, allocations: 94.97 kB / 0.751 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003533, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.269, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.807/1.076, allocations: 140 MB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.076, allocations: 70.97 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0101/1.087, allocations: 3.418 MB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.024e-06/1.087, allocations: 0 / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.438e-06/1.087, allocations: 4 kB / 1.128 GB, free: 32.45 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.0006203/1.087, allocations: 415 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.087, allocations: 15.97 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/1.087, allocations: 10.53 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.087, allocations: 174.6 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/1.088, allocations: 35.67 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/1.088, allocations: 9.203 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/1.088, allocations: 95.89 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.088, allocations: 0 / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/1.088, allocations: 5.719 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.088, allocations: 4 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/1.088, allocations: 47.55 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/1.089, allocations: 0.522 MB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/1.089, allocations: 137.2 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.089, allocations: 4 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/1.09, allocations: 120.4 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.755e-06/1.09, allocations: 0.8438 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0003488/1.09, allocations: 137.1 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.09, allocations: 118.4 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/1.09, allocations: 110.1 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.09, allocations: 33.7 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/1.09, allocations: 95.69 kB / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/1.09, allocations: 27.56 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/1.09, allocations: 4 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/1.09, allocations: 322.4 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/1.09, allocations: 35.59 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/1.09, allocations: 39.47 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/1.091, allocations: 36.56 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.091, allocations: 0 / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002335/1.091, allocations: 127.8 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.091, allocations: 11.12 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.091, allocations: 0 / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.091, allocations: 1.031 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/1.091, allocations: 27.45 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/1.091, allocations: 1.312 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/1.091, allocations: 15.42 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/1.091, allocations: 5.125 kB / 1.131 GB, free: 29.67 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 9.386e-05/1.091, allocations: 121.8 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/1.091, allocations: 7.906 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/1.092, allocations: 121 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.092, allocations: 4 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.092, allocations: 7.938 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.092, allocations: 2.812 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.092, allocations: 221.9 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.092, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/1.092, allocations: 23.41 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/1.092, allocations: 0 / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.092, allocations: 4 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.092, allocations: 0.6875 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.092, allocations: 0.9375 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/1.092, allocations: 208.5 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/1.092, allocations: 96.62 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.092, allocations: 8.562 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/1.092, allocations: 15.52 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/1.092, allocations: 15.38 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/1.092, allocations: 4 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.732e-05/1.092, allocations: 105.5 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/1.092, allocations: 0 / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000284/1.093, allocations: 59.94 kB / 1.132 GB, free: 28.62 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.0002515/1.093, allocations: 165.6 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002251/1.093, allocations: 95.03 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.093, allocations: 4 kB / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/1.093, allocations: 51.41 kB / 1.132 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/1.094, allocations: 11.47 kB / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/1.094, allocations: 269.7 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/1.094, allocations: 0.6993 MB / 1.133 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.142e-05/1.094, allocations: 20.27 kB / 1.133 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/1.094, allocations: 18.95 kB / 1.133 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/1.094, allocations: 0.6562 kB / 1.133 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.004169/1.098, allocations: 1.5 MB / 1.135 GB, free: 26.49 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)