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.001909/0.001909, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002157/0.002157, allocations: 173.6 kB / 23.24 MB, free: 1.32 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 1.66/1.66, allocations: 177.1 MB / 203.5 MB, free: 5.672 MB / 186.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.272/3.272, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 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 1.923e-06/1.923e-06, allocations: 0 / 1.001 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.067e-05, allocations: 2.281 kB / 1.001 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002189/0.00222, allocations: 0.7106 MB / 1.002 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.004722, allocations: 1.548 MB / 1.003 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.004789, allocations: 3.938 kB / 1.003 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.004826, allocations: 3.938 kB / 1.003 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.005017, allocations: 23.78 kB / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.005497, allocations: 163.3 kB / 1.003 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.005684, allocations: 119.6 kB / 1.004 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.00579, allocations: 19.98 kB / 1.004 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.00602, allocations: 79.81 kB / 1.004 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.006122, allocations: 35.88 kB / 1.004 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.00615, allocations: 12 kB / 1.004 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.006406, allocations: 123.8 kB / 1.004 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.006451, allocations: 19.98 kB / 1.004 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.006517, allocations: 35.91 kB / 1.004 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.00696, allocations: 243.3 kB / 1.004 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.006963, allocations: 4 kB / 1.004 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.72e-07/0.006964, allocations: 4 kB / 1.004 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.006969, allocations: 0 / 1.004 GB, free: 8.82 MB / 0.9167 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.0007755/0.007744, allocations: 361.6 kB / 1.004 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.007786, allocations: 13.34 kB / 1.004 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.008109, allocations: 24.88 kB / 1.005 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.008253, allocations: 117.7 kB / 1.005 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.008358, allocations: 67.89 kB / 1.005 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.008381, allocations: 8.375 kB / 1.005 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.008587, allocations: 96.05 kB / 1.005 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.0086, allocations: 8.172 kB / 1.005 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.008615, allocations: 4.125 kB / 1.005 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.00862, allocations: 0 / 1.005 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.008793, allocations: 51.91 kB / 1.005 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.009618, allocations: 444.8 kB / 1.005 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.01027, allocations: 135.7 kB / 1.005 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01039, allocations: 46.59 kB / 1.005 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.01042, allocations: 4 kB / 1.005 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.01069, allocations: 117.9 kB / 1.006 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.01069, allocations: 0 / 1.006 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.000474/0.01116, allocations: 153.6 kB / 1.006 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.01127, allocations: 106.8 kB / 1.006 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01143, allocations: 129.8 kB / 1.006 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.01147, allocations: 29.7 kB / 1.006 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.01156, allocations: 96.36 kB / 1.006 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.01162, allocations: 35.8 kB / 1.006 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.01172, allocations: 37.66 kB / 1.006 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.01192, allocations: 318.8 kB / 1.006 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.01206, allocations: 35.98 kB / 1.006 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01219, allocations: 39.92 kB / 1.006 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.01245, allocations: 83.58 kB / 1.007 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.01246, allocations: 3.938 kB / 1.007 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003959/0.01285, allocations: 129.6 kB / 1.007 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01287, allocations: 4 kB / 1.007 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.01287, allocations: 0 / 1.007 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.01289, allocations: 4 kB / 1.007 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.01305, allocations: 15.98 kB / 1.007 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.01306, allocations: 4 kB / 1.007 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01318, allocations: 19.86 kB / 1.007 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.0132, allocations: 4 kB / 1.007 GB, free: 5.879 MB / 0.9167 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.0001471/0.01334, allocations: 128.7 kB / 1.007 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.01338, allocations: 7.953 kB / 1.007 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.01373, allocations: 118.1 kB / 1.007 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.01374, allocations: 4 kB / 1.007 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.01375, allocations: 0 / 1.007 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.01375, allocations: 4 kB / 1.007 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.014, allocations: 145.2 kB / 1.007 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.014, allocations: 3.938 kB / 1.007 GB, free: 5.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.01414, allocations: 31.92 kB / 1.007 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01414, allocations: 0 / 1.007 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.01416, allocations: 4 kB / 1.007 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01417, allocations: 0 / 1.007 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.01417, allocations: 3.938 kB / 1.007 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.01459, allocations: 170.7 kB / 1.007 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.01467, allocations: 31.81 kB / 1.007 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.0147, allocations: 4.109 kB / 1.007 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.01481, allocations: 16 kB / 1.007 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.01488, allocations: 7.984 kB / 1.007 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.0149, allocations: 15.98 kB / 1.007 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001036/0.015, allocations: 95.27 kB / 1.008 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.11e-07/0.015, allocations: 0 / 1.008 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005085/0.01551, allocations: 67.75 kB / 1.008 GB, free: 4.965 MB / 0.9167 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.0004133/0.01592, allocations: 178.9 kB / 1.008 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.01626, allocations: 91.89 kB / 1.008 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01626, allocations: 0 / 1.008 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.01642, allocations: 47.92 kB / 1.008 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01672, allocations: 19.88 kB / 1.008 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008011/0.01752, allocations: 234.6 kB / 1.008 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.01765, allocations: 81.45 kB / 1.008 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.01775, allocations: 24.55 kB / 1.008 GB, free: 4.234 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.01782, allocations: 20.5 kB / 1.008 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.01782, allocations: 0 / 1.008 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of Templates: time 0.007816/0.02563, allocations: 1.947 MB / 1.01 GB, free: 2.293 MB / 0.9167 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: 9.145684278570116]