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.001448/0.001448, allocations: 80.88 kB / 20.82 MB, free: 3.633 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.001047/0.001047, allocations: 165 kB / 24.25 MB, free: 212 kB / 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 0.9405/0.9405, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.981/1.981, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.503e-06/1.503e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.752e-05, allocations: 3.781 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001614/0.001632, allocations: 0.9045 MB / 0.7762 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.003753, allocations: 2.477 MB / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.003812, allocations: 4.688 kB / 0.7787 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.003851, allocations: 15.81 kB / 0.7787 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.004024, allocations: 52.2 kB / 0.7787 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.004593, allocations: 476.1 kB / 0.7792 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.004818, allocations: 323 kB / 0.7795 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.004857, allocations: 10.47 kB / 0.7795 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.005094, allocations: 201.7 kB / 0.7797 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.00522, allocations: 125.4 kB / 0.7798 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.005253, allocations: 24 kB / 0.7798 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.005693, allocations: 427.5 kB / 0.7802 GB, free: 344 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.005739, allocations: 68.66 kB / 0.7803 GB, free: 276 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.005806, allocations: 91.78 kB / 0.7804 GB, free: 184 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.006298, allocations: 0.5763 MB / 0.7809 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006301, allocations: 1 kB / 0.781 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006301, allocations: 0 / 0.781 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.006305, allocations: 0 / 0.781 GB, free: 15.6 MB / 0.7448 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.0006616/0.006966, allocations: 0.5803 MB / 0.7815 GB, free: 15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.007, allocations: 14.12 kB / 0.7815 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000523/0.007523, allocations: 139.4 kB / 0.7817 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.066e-05/0.007614, allocations: 135.2 kB / 0.7818 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.007723, allocations: 234.2 kB / 0.782 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.007757, allocations: 21.16 kB / 0.782 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.007943, allocations: 205.1 kB / 0.7822 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.007951, allocations: 2.938 kB / 0.7822 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.007968, allocations: 16.09 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.007975, allocations: 4 kB / 0.7823 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.008056, allocations: 63.75 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.008262, allocations: 195.2 kB / 0.7825 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/0.009161, allocations: 421.4 kB / 0.7829 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.009246, allocations: 108.4 kB / 0.783 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.009272, allocations: 19.92 kB / 0.783 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.00949, allocations: 284.7 kB / 0.7833 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.009491, allocations: 0 / 0.7833 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0002995/0.009791, allocations: 238.5 kB / 0.7835 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.009897, allocations: 358.1 kB / 0.7839 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.009981, allocations: 171.2 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.01001, allocations: 37.7 kB / 0.7841 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.01004, allocations: 101.1 kB / 0.7842 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.01011, allocations: 119.2 kB / 0.7843 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.01018, allocations: 91.42 kB / 0.7844 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.01026, allocations: 334.8 kB / 0.7847 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.01035, allocations: 62.66 kB / 0.7847 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/0.01044, allocations: 101.3 kB / 0.7848 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.0106, allocations: 177.5 kB / 0.785 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01061, allocations: 0 / 0.785 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002178/0.01082, allocations: 216.8 kB / 0.7852 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.01083, allocations: 6.125 kB / 0.7852 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01084, allocations: 4 kB / 0.7852 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.01085, allocations: 0 / 0.7852 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.01104, allocations: 87.86 kB / 0.7853 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01105, allocations: 11.94 kB / 0.7853 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01115, allocations: 50.14 kB / 0.7854 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.01117, allocations: 15.98 kB / 0.7854 GB, free: 10.56 MB / 0.7448 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 9.98e-05/0.01127, allocations: 149.6 kB / 0.7855 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.01131, allocations: 27.98 kB / 0.7856 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.01161, allocations: 266.2 kB / 0.7858 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.01162, allocations: 8 kB / 0.7858 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01162, allocations: 8.922 kB / 0.7858 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.01163, allocations: 7.938 kB / 0.7858 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.01182, allocations: 188 kB / 0.786 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.01182, allocations: 4 kB / 0.786 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.01196, allocations: 75.83 kB / 0.7861 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.01197, allocations: 8 kB / 0.7861 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01198, allocations: 12 kB / 0.7861 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.01199, allocations: 8.703 kB / 0.7861 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01199, allocations: 4 kB / 0.7861 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.01224, allocations: 338.4 kB / 0.7864 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.01233, allocations: 59.69 kB / 0.7865 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.01236, allocations: 20.67 kB / 0.7865 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.01245, allocations: 20.61 kB / 0.7865 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.01252, allocations: 65.66 kB / 0.7866 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.01253, allocations: 12 kB / 0.7866 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.01256, allocations: 45.33 kB / 0.7867 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01256, allocations: 0 / 0.7867 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003113/0.01287, allocations: 231.1 kB / 0.7869 GB, free: 8.961 MB / 0.7448 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.0003615/0.01324, allocations: 365.7 kB / 0.7872 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.01347, allocations: 216.2 kB / 0.7874 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.01348, allocations: 0 / 0.7874 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.0136, allocations: 141.5 kB / 0.7876 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.01374, allocations: 36.67 kB / 0.7876 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.01446, allocations: 0.5089 MB / 0.7881 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.956e-05/0.01452, allocations: 95.23 kB / 0.7882 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.01465, allocations: 57.75 kB / 0.7882 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.01478, allocations: 103.3 kB / 0.7883 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01478, allocations: 1.25 kB / 0.7883 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.007592/0.02237, allocations: 6.44 MB / 0.7946 GB, free: 1.07 MB / 0.7448 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: 5.079864150844514]