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.000998/0.000998, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002437, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001519/0.001519, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001798/0.003317, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9623/0.9623, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1196/1.082, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.953/1.953, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5171/2.47, allocations: 127.1 MB / 0.7432 GB, free: 4.637 MB / 0.7136 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.272e-06/1.272e-06, allocations: 0 / 0.7444 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.439e-05, allocations: 6.25 kB / 0.7444 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001217/0.001231, allocations: 0.7673 MB / 0.7452 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.002682, allocations: 1.608 MB / 0.7468 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.002728, allocations: 0 / 0.7468 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.00275, allocations: 3.938 kB / 0.7468 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.002813, allocations: 25.42 kB / 0.7468 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.003138, allocations: 157.4 kB / 0.7469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003273, allocations: 124.3 kB / 0.7471 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.003357, allocations: 18.73 kB / 0.7471 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.003516, allocations: 75.81 kB / 0.7471 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.003593, allocations: 39.94 kB / 0.7472 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.003616, allocations: 15.94 kB / 0.7472 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.003832, allocations: 131.8 kB / 0.7473 GB, free: 484 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.003855, allocations: 16 kB / 0.7473 GB, free: 468 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.003888, allocations: 26.72 kB / 0.7474 GB, free: 444 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.004089, allocations: 163.5 kB / 0.7475 GB, free: 280 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.004103, allocations: 0 / 0.7475 GB, free: 280 kB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004103, allocations: 0 / 0.7475 GB, free: 280 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.004118, allocations: 0 / 0.7475 GB, free: 280 kB / 0.7136 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.0004901/0.004608, allocations: 375.5 kB / 0.7479 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.004635, allocations: 8.031 kB / 0.7479 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.004861, allocations: 110 kB / 0.748 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.004982, allocations: 137.6 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.005027, allocations: 59.97 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.005038, allocations: 8.375 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.005144, allocations: 93.47 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.005151, allocations: 192 / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.00516, allocations: 11.5 kB / 0.7483 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005165, allocations: 0 / 0.7483 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.005204, allocations: 27.89 kB / 0.7483 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.005496, allocations: 376.5 kB / 0.7487 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.005723, allocations: 107.5 kB / 0.7488 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.00575, allocations: 30.66 kB / 0.7488 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.005771, allocations: 0 / 0.7488 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.005892, allocations: 105.8 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.005894, allocations: 0 / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001394/0.006033, allocations: 89.52 kB / 0.749 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.006085, allocations: 106.8 kB / 0.7491 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.006148, allocations: 133.6 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.006161, allocations: 25.7 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.006197, allocations: 96.34 kB / 0.7493 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.006221, allocations: 31.73 kB / 0.7494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.00626, allocations: 41.67 kB / 0.7494 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.00633, allocations: 314.8 kB / 0.7497 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.006361, allocations: 15.98 kB / 0.7497 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.00638, allocations: 16.8 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.006432, allocations: 42.88 kB / 0.7498 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.006434, allocations: 1.406 kB / 0.7498 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 7.913e-05/0.006513, allocations: 77.61 kB / 0.7499 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006526, allocations: 7.984 kB / 0.7499 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.00653, allocations: 9 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.006539, allocations: 3.938 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.006621, allocations: 23.98 kB / 0.7499 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.006624, allocations: 0.5938 kB / 0.7499 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.006658, allocations: 12.67 kB / 0.7499 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006664, allocations: 0 / 0.7499 GB, free: 13.59 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 (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 8.086e-05/0.006744, allocations: 120 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.006759, allocations: 19.86 kB / 0.75 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.006869, allocations: 87.3 kB / 0.7501 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006871, allocations: 4 kB / 0.7501 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006873, allocations: 1 kB / 0.7501 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.006878, allocations: 7.984 kB / 0.7501 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.298e-05/0.006961, allocations: 95.05 kB / 0.7502 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006962, allocations: 3.938 kB / 0.7502 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.007011, allocations: 27.92 kB / 0.7503 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.007039, allocations: 20.81 kB / 0.7503 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.007042, allocations: 7.938 kB / 0.7503 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007048, allocations: 4 kB / 0.7503 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007049, allocations: 0.9062 kB / 0.7503 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.007051, allocations: 4 kB / 0.7503 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.542e-05/0.007136, allocations: 115.6 kB / 0.7504 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.007151, allocations: 7.938 kB / 0.7504 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.007182, allocations: 13.77 kB / 0.7504 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.007211, allocations: 11.98 kB / 0.7504 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.007215, allocations: 0 / 0.7504 GB, free: 13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.964e-05/0.007235, allocations: 31.95 kB / 0.7505 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007235, allocations: 0 / 0.7505 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001574/0.007392, allocations: 68.42 kB / 0.7505 GB, free: 12.9 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.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.0001606/0.007553, allocations: 156.7 kB / 0.7507 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.651e-05/0.00765, allocations: 67.47 kB / 0.7507 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.007653, allocations: 0 / 0.7507 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.007695, allocations: 49.38 kB / 0.7508 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.964e-05/0.007784, allocations: 23.94 kB / 0.7508 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.008704, allocations: 235.6 kB / 0.751 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.008736, allocations: 76.7 kB / 0.7511 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.008784, allocations: 14.73 kB / 0.7511 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.008841, allocations: 67.36 kB / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.008841, allocations: 0.625 kB / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.00342/0.01226, allocations: 2.193 MB / 0.7533 GB, free: 10.12 MB / 0.7292 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.0630176197737455]