Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.002385/0.002385, 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.002695/0.002695, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.659/1.659, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.343/3.343, 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.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.33e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002132/0.002165, allocations: 0.8554 MB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.006087, allocations: 2.416 MB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.006183, allocations: 0 / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.465e-05/0.006238, allocations: 15.8 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.006474, allocations: 55.48 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.007731, allocations: 0.5046 MB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.008166, allocations: 322.9 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.008231, allocations: 13.8 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.008612, allocations: 199.7 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.008849, allocations: 127.7 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.008911, allocations: 24 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007347/0.009646, allocations: 375.6 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.009738, allocations: 71.77 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.00987, allocations: 91.83 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009979/0.01087, allocations: 0.6621 MB / 1.007 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01087, allocations: 0 / 1.007 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01087, allocations: 4 kB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.01088, allocations: 0 / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001452/0.01233, allocations: 0.6039 MB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.01237, allocations: 9.344 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009589/0.01333, allocations: 84.78 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.01347, allocations: 134.2 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.01373, allocations: 234.2 kB / 1.008 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.01377, allocations: 20.31 kB / 1.008 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.01421, allocations: 244.3 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01422, allocations: 4.188 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.01425, allocations: 12.12 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01426, allocations: 4 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.01451, allocations: 115.7 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.01495, allocations: 283 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.01655, allocations: 483.2 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.01681, allocations: 154.2 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.01685, allocations: 12 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005156/0.01737, allocations: 311.5 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.01737, allocations: 0 / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.000941/0.01831, allocations: 414.3 kB / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003699/0.01868, allocations: 362.1 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.01887, allocations: 167.2 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.01893, allocations: 45.69 kB / 1.01 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.01901, allocations: 97.09 kB / 1.01 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.01914, allocations: 115.1 kB / 1.01 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.0193, allocations: 102 kB / 1.011 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.01949, allocations: 334.8 kB / 1.011 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.0198, allocations: 112.9 kB / 1.011 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.02016, allocations: 172.3 kB / 1.011 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.02079, allocations: 262.9 kB / 1.011 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.0208, allocations: 4 kB / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008713/0.02167, allocations: 381.5 kB / 1.012 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.02169, allocations: 14.12 kB / 1.012 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.0217, allocations: 0 / 1.012 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.02172, allocations: 7.938 kB / 1.012 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.02215, allocations: 75.81 kB / 1.012 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.02216, allocations: 4 kB / 1.012 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.02245, allocations: 55.75 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.02249, allocations: 19.98 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002004/0.02269, allocations: 154.5 kB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.02276, allocations: 23.86 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007738/0.02353, allocations: 362.3 kB / 1.012 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.02355, allocations: 11.94 kB / 1.012 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.02356, allocations: 4 kB / 1.012 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.02357, allocations: 7.984 kB / 1.012 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.02395, allocations: 241.4 kB / 1.013 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02395, allocations: 0 / 1.013 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.02427, allocations: 79.84 kB / 1.013 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.02428, allocations: 8 kB / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.02431, allocations: 23.92 kB / 1.013 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.02432, allocations: 8 kB / 1.013 GB, free: 500 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.02433, allocations: 11.86 kB / 1.013 GB, free: 488 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008722/0.02521, allocations: 496.4 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.02538, allocations: 71.62 kB / 1.013 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.02544, allocations: 16 kB / 1.013 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.02569, allocations: 31.97 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.02581, allocations: 48.05 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.02585, allocations: 27.98 kB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001255/0.02598, allocations: 128.6 kB / 1.014 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02598, allocations: 0 / 1.014 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006392/0.02662, allocations: 231.1 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006828/0.0273, allocations: 360.9 kB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007455/0.02805, allocations: 315.2 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02805, allocations: 0 / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.02838, allocations: 168.4 kB / 1.015 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.02868, allocations: 35.92 kB / 1.015 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02981, allocations: 0.5484 MB / 1.015 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.03, allocations: 155.6 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.03023, allocations: 55.3 kB / 1.015 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.03037, allocations: 48.48 kB / 1.015 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of SimCode: time 8.91e-07/0.03037, allocations: 4 kB / 1.015 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of Templates: time 0.01325/0.04362, allocations: 5.779 MB / 1.021 GB, free: 7.895 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.399648084305227]