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.001366/0.001366, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001348/0.001348, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.005/1.005, allocations: 177.1 MB / 205.5 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 1.941/1.941, allocations: 389.6 MB / 0.6363 GB, free: 12.26 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.363e-06/1.363e-06, allocations: 0 / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.445e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001491/0.001516, allocations: 0.7683 MB / 0.7768 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.003042, allocations: 1.597 MB / 0.7784 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.003093, allocations: 0 / 0.7784 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.003133, allocations: 8.688 kB / 0.7784 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.003282, allocations: 26.25 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.003584, allocations: 163.9 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.003705, allocations: 115.6 kB / 0.7787 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.003785, allocations: 20.97 kB / 0.7787 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.003946, allocations: 64.39 kB / 0.7788 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.004011, allocations: 43.88 kB / 0.7788 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.004033, allocations: 12.75 kB / 0.7788 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.004214, allocations: 134 kB / 0.779 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.004237, allocations: 23.91 kB / 0.779 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.00427, allocations: 27.98 kB / 0.779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.00448, allocations: 203.3 kB / 0.7792 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004483, allocations: 0 / 0.7792 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004484, allocations: 3.938 kB / 0.7792 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.004487, allocations: 2.75 kB / 0.7792 GB, free: 2.164 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.0003831/0.00487, allocations: 320.3 kB / 0.7795 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.004903, allocations: 13.34 kB / 0.7795 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.005117, allocations: 47.64 kB / 0.7796 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005258, allocations: 129.8 kB / 0.7797 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.005323, allocations: 55.97 kB / 0.7798 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.005337, allocations: 8.375 kB / 0.7798 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.005461, allocations: 97.42 kB / 0.7799 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.005467, allocations: 192 / 0.7799 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005478, allocations: 12.12 kB / 0.7799 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005482, allocations: 1.656 kB / 0.7799 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.005516, allocations: 15.98 kB / 0.7799 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.005853, allocations: 376.5 kB / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.00609, allocations: 109.8 kB / 0.7804 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.006117, allocations: 32.33 kB / 0.7804 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.006133, allocations: 4.078 kB / 0.7804 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.006252, allocations: 113.7 kB / 0.7805 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.006253, allocations: 0 / 0.7805 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001395/0.006392, allocations: 82.81 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.006446, allocations: 114.8 kB / 0.7807 GB, free: 496 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.006515, allocations: 127.3 kB / 0.7808 GB, free: 356 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.006532, allocations: 29.7 kB / 0.7808 GB, free: 320 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.006572, allocations: 93.48 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.006597, allocations: 35.72 kB / 0.781 GB, free: 184 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.006637, allocations: 33.69 kB / 0.781 GB, free: 144 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.006745, allocations: 319.5 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.006786, allocations: 12 kB / 0.7813 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.006808, allocations: 16.73 kB / 0.7813 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.006866, allocations: 44.78 kB / 0.7814 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.006869, allocations: 4 kB / 0.7814 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.573e-05/0.006965, allocations: 86.16 kB / 0.7814 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.006978, allocations: 4.906 kB / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006982, allocations: 192 / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.006989, allocations: 4 kB / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.007065, allocations: 24.91 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.007068, allocations: 0 / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.007105, allocations: 12.52 kB / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.007119, allocations: 5.781 kB / 0.7815 GB, free: 15.61 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 7.544e-05/0.007195, allocations: 127.8 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.007209, allocations: 11.92 kB / 0.7816 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.007341, allocations: 98.44 kB / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.007344, allocations: 2.844 kB / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.007349, allocations: 4 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007353, allocations: 0 / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.653e-05/0.00745, allocations: 97.81 kB / 0.7818 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007452, allocations: 0 / 0.7818 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.007499, allocations: 19.98 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.007502, allocations: 4 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.007511, allocations: 7.938 kB / 0.7819 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.007516, allocations: 11.02 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.007517, allocations: 0 / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.007627, allocations: 114.7 kB / 0.782 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.007662, allocations: 19.94 kB / 0.782 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.007679, allocations: 7.922 kB / 0.782 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.007712, allocations: 8 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.007744, allocations: 11.98 kB / 0.782 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.007752, allocations: 7.984 kB / 0.782 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.034e-05/0.007772, allocations: 22.34 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007772, allocations: 0 / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001786/0.007951, allocations: 63.75 kB / 0.7821 GB, free: 14.93 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.0001981/0.008149, allocations: 171.3 kB / 0.7823 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.008261, allocations: 68.75 kB / 0.7823 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.008265, allocations: 4.969 kB / 0.7823 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.008307, allocations: 40.78 kB / 0.7824 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.85e-05/0.008406, allocations: 13.22 kB / 0.7824 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.008869, allocations: 234.4 kB / 0.7826 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.329e-05/0.008902, allocations: 63.34 kB / 0.7827 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.008951, allocations: 24.27 kB / 0.7827 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.009009, allocations: 67.38 kB / 0.7828 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.00901, allocations: 0 / 0.7828 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.004297/0.01331, allocations: 2.179 MB / 0.7849 GB, free: 12.16 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.08874184358865]