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.001274/0.001274, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.00156/0.00156, allocations: 175.6 kB / 25.18 MB, free: 8.918 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.9587/0.9587, allocations: 177.1 MB / 205.6 MB, free: 5.414 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 1.89/1.89, allocations: 389.6 MB / 0.6364 GB, free: 12.19 MB / 0.6042 GB " [Timeout remaining time 178] 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.693e-06/1.693e-06, allocations: 0 / 0.7755 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.175e-05, allocations: 11.39 kB / 0.7755 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001705/0.001726, allocations: 0.7615 MB / 0.7762 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.003323, allocations: 1.599 MB / 0.7778 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.003378, allocations: 0 / 0.7778 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.003414, allocations: 3.938 kB / 0.7778 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.003577, allocations: 25.97 kB / 0.7778 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.003859, allocations: 162.8 kB / 0.778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.003991, allocations: 119.6 kB / 0.7781 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.004072, allocations: 20.53 kB / 0.7781 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.004251, allocations: 72.58 kB / 0.7782 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.004324, allocations: 40.69 kB / 0.7782 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.004344, allocations: 12 kB / 0.7782 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.004518, allocations: 128.4 kB / 0.7784 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.004545, allocations: 27.91 kB / 0.7784 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.00458, allocations: 32.52 kB / 0.7784 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.004816, allocations: 196.8 kB / 0.7786 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.004819, allocations: 3.984 kB / 0.7786 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00482, allocations: 0 / 0.7786 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004824, allocations: 0 / 0.7786 GB, free: 2.867 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.0004358/0.00526, allocations: 326.4 kB / 0.7789 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.005292, allocations: 9.344 kB / 0.7789 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.005496, allocations: 41.73 kB / 0.779 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.005664, allocations: 137.6 kB / 0.7791 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.005722, allocations: 64.55 kB / 0.7792 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.005739, allocations: 13.06 kB / 0.7792 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005847, allocations: 93.48 kB / 0.7793 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005855, allocations: 4.75 kB / 0.7793 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005866, allocations: 4.125 kB / 0.7793 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.005872, allocations: 5.438 kB / 0.7793 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.005909, allocations: 15.98 kB / 0.7793 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.006225, allocations: 381.1 kB / 0.7797 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.006459, allocations: 109.9 kB / 0.7798 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.00649, allocations: 27.39 kB / 0.7798 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.006504, allocations: 4.094 kB / 0.7798 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.006612, allocations: 110.5 kB / 0.7799 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.006614, allocations: 0 / 0.7799 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002194/0.006833, allocations: 83.38 kB / 0.78 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.006885, allocations: 110.8 kB / 0.7801 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.006953, allocations: 126.7 kB / 0.7802 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.006968, allocations: 29.7 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.007004, allocations: 89.23 kB / 0.7803 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.007028, allocations: 39.72 kB / 0.7804 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.007066, allocations: 34.31 kB / 0.7804 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.00714, allocations: 322.8 kB / 0.7807 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.007173, allocations: 8.938 kB / 0.7807 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.007194, allocations: 20.12 kB / 0.7807 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.007248, allocations: 48.77 kB / 0.7808 GB, free: 452 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.00725, allocations: 0 / 0.7808 GB, free: 452 kB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.29e-05/0.007332, allocations: 89.47 kB / 0.7809 GB, free: 356 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.007344, allocations: 4 kB / 0.7809 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.007348, allocations: 0.5938 kB / 0.7809 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.007356, allocations: 1 kB / 0.7809 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.007428, allocations: 23.98 kB / 0.7809 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007433, allocations: 3.984 kB / 0.7809 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.007473, allocations: 4.531 kB / 0.7809 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.00748, allocations: 1.125 kB / 0.7809 GB, free: 320 kB / 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 (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.079e-05/0.007541, allocations: 117.8 kB / 0.781 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.007555, allocations: 24.67 kB / 0.781 GB, free: 168 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.007677, allocations: 86.73 kB / 0.7811 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007681, allocations: 4.812 kB / 0.7811 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.007683, allocations: 0 / 0.7811 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007686, allocations: 1.125 kB / 0.7811 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.007798, allocations: 105.9 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.007799, allocations: 0 / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.007864, allocations: 29.3 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007867, allocations: 0 / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.007877, allocations: 7.75 kB / 0.7813 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007879, allocations: 0 / 0.7813 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.007881, allocations: 5.141 kB / 0.7813 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.008025, allocations: 121.7 kB / 0.7814 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.008067, allocations: 11.89 kB / 0.7814 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.008094, allocations: 16.8 kB / 0.7814 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.008135, allocations: 8 kB / 0.7814 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.008166, allocations: 8.766 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.008174, allocations: 12.05 kB / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.095e-05/0.008195, allocations: 21.78 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008195, allocations: 0 / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001537/0.008349, allocations: 75.67 kB / 0.7815 GB, free: 15.62 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.0003283/0.008677, allocations: 161.9 kB / 0.7817 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.689e-05/0.008774, allocations: 60.81 kB / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.008778, allocations: 0 / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.008823, allocations: 47.45 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.694e-05/0.00892, allocations: 14.06 kB / 0.7818 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.009394, allocations: 268 kB / 0.782 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.009447, allocations: 83.92 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.009512, allocations: 71.36 kB / 0.7822 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.009512, allocations: 0 / 0.7822 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.002497/0.01201, allocations: 2.048 MB / 0.7842 GB, free: 12.94 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 > Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.620792783796787]