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.002622/0.002622, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.002046/0.002046, allocations: 220.2 kB / 23.02 MB, free: 2.941 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 1.707/1.707, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 178] 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 3.527/3.527, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003773/0.003773, allocations: 71.89 kB / 1.177 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9495/0.9532, allocations: 180 MB / 1.353 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002833/0.9561, allocations: 0.7082 MB / 1.354 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.003288/0.9594, allocations: 1.54 MB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.315e-05/0.9595, allocations: 3.938 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.9595, allocations: 3.938 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.9597, allocations: 23.86 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.9603, allocations: 163.4 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.9606, allocations: 119.7 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.9607, allocations: 11.98 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.9609, allocations: 55.84 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.9611, allocations: 47.83 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.9611, allocations: 12 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.9614, allocations: 119.8 kB / 1.356 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.9615, allocations: 31.89 kB / 1.356 GB, free: 14.81 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.9615, allocations: 35.86 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.962, allocations: 221.9 kB / 1.356 GB, free: 14.56 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.962, allocations: 3.938 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.962, allocations: 0 / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.962, allocations: 0 / 1.356 GB, free: 14.55 MB / 1.042 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.0009832/0.963, allocations: 361.7 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9631, allocations: 8.922 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.9635, allocations: 24.88 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.9637, allocations: 118.4 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.9639, allocations: 71.89 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.9639, allocations: 8.375 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.9642, allocations: 96.36 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9642, allocations: 4 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.9642, allocations: 0 / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.9642, allocations: 4 kB / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.9643, allocations: 47.91 kB / 1.357 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.9652, allocations: 456.7 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.9659, allocations: 131.8 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.966, allocations: 42.66 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.9661, allocations: 0 / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.9664, allocations: 125.7 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.9664, allocations: 0 / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0005226/0.9669, allocations: 141.5 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.967, allocations: 106.8 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.9672, allocations: 129.7 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.9672, allocations: 33.7 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.9673, allocations: 88.55 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.9674, allocations: 31.86 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.9675, allocations: 45.59 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.9677, allocations: 326.8 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.9678, allocations: 35.98 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.968, allocations: 31.98 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.9682, allocations: 83.59 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9683, allocations: 0 / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004102/0.9687, allocations: 125.5 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9687, allocations: 8 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.9687, allocations: 4 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.9687, allocations: 448 / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.9689, allocations: 27.92 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.9689, allocations: 4 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.969, allocations: 7.984 kB / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.969, allocations: 7.984 kB / 1.359 GB, free: 11.62 MB / 1.042 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 0.0001593/0.9692, allocations: 129.8 kB / 1.359 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.9692, allocations: 7.953 kB / 1.359 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.9696, allocations: 129.8 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.9696, allocations: 4 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9696, allocations: 0 / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.9696, allocations: 0 / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.9699, allocations: 149.2 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9699, allocations: 4 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.97, allocations: 19.92 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.97, allocations: 4 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.97, allocations: 4 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.97, allocations: 4 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.97, allocations: 4 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.9705, allocations: 178.6 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.9705, allocations: 19.94 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.9706, allocations: 7.984 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.9707, allocations: 8 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.9708, allocations: 15.91 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.9708, allocations: 8 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001046/0.9709, allocations: 97.77 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.9709, allocations: 0 / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005058/0.9714, allocations: 71.75 kB / 1.359 GB, free: 10.7 MB / 1.042 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.0003794/0.9718, allocations: 182.9 kB / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.9721, allocations: 94.56 kB / 1.36 GB, free: 10.43 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9721, allocations: 0 / 1.36 GB, free: 10.43 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.9723, allocations: 47.92 kB / 1.36 GB, free: 10.38 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.9726, allocations: 8.312 kB / 1.36 GB, free: 10.37 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.9733, allocations: 241.4 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.9734, allocations: 85.33 kB / 1.36 GB, free: 9.992 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.9734, allocations: 16.42 kB / 1.36 GB, free: 9.977 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.9735, allocations: 23.42 kB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of SimCode: time 4.31e-07/0.9735, allocations: 0 / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of Templates: time 0.006115/0.9796, allocations: 2.006 MB / 1.362 GB, free: 7.969 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.722625362686813]