Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 80.94 kB / 21.55 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 159.7 kB / 24.96 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9601/0.9601, allocations: 177.1 MB / 205.4 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.037/2.037, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.562e-05, allocations: 5.828 kB / 0.7759 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001759/0.001785, allocations: 0.7804 MB / 0.7767 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.003548, allocations: 1.597 MB / 0.7782 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.003632, allocations: 4 kB / 0.7783 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.003683, allocations: 7.875 kB / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.003891, allocations: 14.16 kB / 0.7783 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.004262, allocations: 164 kB / 0.7784 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.004404, allocations: 119.6 kB / 0.7785 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.004502, allocations: 15.97 kB / 0.7786 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.004672, allocations: 71.88 kB / 0.7786 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.00475, allocations: 44.94 kB / 0.7787 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.004771, allocations: 12 kB / 0.7787 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.004966, allocations: 129 kB / 0.7788 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.004991, allocations: 23.91 kB / 0.7788 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.005023, allocations: 35.91 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.005234, allocations: 196.4 kB / 0.779 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005237, allocations: 0 / 0.779 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.92e-07/0.005237, allocations: 3.938 kB / 0.7791 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.005241, allocations: 0.5938 kB / 0.7791 GB, free: 2.227 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.0004236/0.005665, allocations: 326.9 kB / 0.7794 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.005696, allocations: 13.34 kB / 0.7794 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.005895, allocations: 44.73 kB / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.006024, allocations: 130.5 kB / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.006074, allocations: 55.97 kB / 0.7796 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.006085, allocations: 8.969 kB / 0.7796 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.006196, allocations: 94.61 kB / 0.7797 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006204, allocations: 4.172 kB / 0.7797 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006215, allocations: 8.125 kB / 0.7797 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.006222, allocations: 5.219 kB / 0.7797 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.006257, allocations: 15.98 kB / 0.7797 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.006591, allocations: 381.4 kB / 0.7801 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.00683, allocations: 109.5 kB / 0.7802 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.00686, allocations: 32.16 kB / 0.7802 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.00688, allocations: 8.078 kB / 0.7802 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.006998, allocations: 105.8 kB / 0.7803 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.007, allocations: 0.5 kB / 0.7803 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001449/0.007145, allocations: 82.28 kB / 0.7804 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.007191, allocations: 114.8 kB / 0.7805 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.007262, allocations: 128.4 kB / 0.7806 GB, free: 416 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.007278, allocations: 29.7 kB / 0.7807 GB, free: 380 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.007315, allocations: 88.38 kB / 0.7808 GB, free: 284 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.007339, allocations: 35.72 kB / 0.7808 GB, free: 248 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.007378, allocations: 29.69 kB / 0.7808 GB, free: 212 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.007463, allocations: 323.8 kB / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.007498, allocations: 12 kB / 0.7811 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.007518, allocations: 12.55 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/0.007572, allocations: 52.88 kB / 0.7812 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007574, allocations: 0 / 0.7812 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.145e-05/0.007655, allocations: 89.53 kB / 0.7813 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.007666, allocations: 4 kB / 0.7813 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.00767, allocations: 4.812 kB / 0.7813 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.007682, allocations: 4 kB / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.007752, allocations: 24.84 kB / 0.7813 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.007755, allocations: 0 / 0.7813 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.007788, allocations: 8.562 kB / 0.7813 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.007795, allocations: 5.5 kB / 0.7813 GB, free: 15.67 MB / 0.7448 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 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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.07e-05/0.007856, allocations: 121.7 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.007868, allocations: 11.92 kB / 0.7815 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.00799, allocations: 99.36 kB / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007992, allocations: 0 / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007995, allocations: 4.688 kB / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007999, allocations: 0 / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.19e-05/0.008081, allocations: 98.88 kB / 0.7817 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008082, allocations: 0 / 0.7817 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.008126, allocations: 19.98 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.008129, allocations: 4.531 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.008137, allocations: 8.875 kB / 0.7817 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.008139, allocations: 3.984 kB / 0.7817 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.00814, allocations: 4 kB / 0.7817 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.00823, allocations: 119.2 kB / 0.7818 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.008258, allocations: 16.83 kB / 0.7818 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.008271, allocations: 7.922 kB / 0.7818 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.964e-05/0.0083, allocations: 8.531 kB / 0.7818 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.00833, allocations: 7.984 kB / 0.7819 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.008338, allocations: 12.92 kB / 0.7819 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.703e-05/0.008355, allocations: 16.86 kB / 0.7819 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008355, allocations: 0.9375 kB / 0.7819 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001492/0.008505, allocations: 67.73 kB / 0.7819 GB, free: 15 MB / 0.7448 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.0001676/0.008672, allocations: 167.2 kB / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.008776, allocations: 72.25 kB / 0.7822 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.008778, allocations: 0 / 0.7822 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.008827, allocations: 48.78 kB / 0.7822 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.855e-05/0.008926, allocations: 12 kB / 0.7822 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.009385, allocations: 237.1 kB / 0.7825 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.009419, allocations: 63.34 kB / 0.7825 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.713e-05/0.009466, allocations: 21.83 kB / 0.7825 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.009523, allocations: 67.38 kB / 0.7826 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.009523, allocations: 0.9375 kB / 0.7826 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.003343/0.01287, allocations: 2.168 MB / 0.7847 GB, free: 12.24 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.197044278495014]