Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009334/0.0009338, allocations: 177.7 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007904/0.0007904, allocations: 91.98 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 11.66 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001004/0.2341, allocations: 0.638 MB / 0.8974 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.2366, allocations: 2.582 MB / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.2367, allocations: 3.938 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.2367, allocations: 3.938 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.237, allocations: 47.67 kB / 0.9 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.2377, allocations: 414.9 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.2379, allocations: 303.1 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.2379, allocations: 13.67 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.2381, allocations: 139.5 kB / 0.9008 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2383, allocations: 147.5 kB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.2383, allocations: 16 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.2387, allocations: 295.8 kB / 0.9012 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.2388, allocations: 55.84 kB / 0.9013 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.2389, allocations: 107.5 kB / 0.9014 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.2393, allocations: 407 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2393, allocations: 0 / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2393, allocations: 3.938 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2394, allocations: 0 / 0.9018 GB, free: 63.02 MB / 0.6042 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.001164/0.2405, allocations: 0.6294 MB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2406, allocations: 8.031 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.2407, allocations: 24.75 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2408, allocations: 192.8 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.2409, allocations: 135.2 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.241, allocations: 20.38 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.2413, allocations: 235.9 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2413, allocations: 4 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.2413, allocations: 4 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2414, allocations: 4 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.2416, allocations: 115.7 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.2419, allocations: 399.1 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.2431, allocations: 0.4915 MB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.2433, allocations: 162.3 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.2433, allocations: 7.984 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.2437, allocations: 308.3 kB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.2437, allocations: 0 / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006989/0.2444, allocations: 425.3 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2446, allocations: 354.6 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2447, allocations: 177.9 kB / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.2447, allocations: 37.7 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.2448, allocations: 93.14 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.2448, allocations: 118.4 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.2449, allocations: 49.7 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.245, allocations: 330.8 kB / 0.9059 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.2452, allocations: 121 kB / 0.906 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.2455, allocations: 169 kB / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.2459, allocations: 266.4 kB / 0.9065 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2459, allocations: 0 / 0.9065 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006165/0.2466, allocations: 378.7 kB / 0.9068 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2466, allocations: 11.98 kB / 0.9068 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2466, allocations: 0 / 0.9068 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.2466, allocations: 4 kB / 0.9068 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.247, allocations: 83.75 kB / 0.9069 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.247, allocations: 4 kB / 0.9069 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.2473, allocations: 59.67 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.2474, allocations: 19.98 kB / 0.907 GB, free: 57.09 MB / 0.6042 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.0001429/0.2475, allocations: 150.5 kB / 0.9071 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.2476, allocations: 27.73 kB / 0.9072 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.2482, allocations: 362 kB / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.2482, allocations: 12 kB / 0.9075 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.2482, allocations: 0.6875 kB / 0.9075 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2482, allocations: 7.984 kB / 0.9075 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.2485, allocations: 349.1 kB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2485, allocations: 3.938 kB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.2488, allocations: 75.84 kB / 0.9079 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2488, allocations: 11.94 kB / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.2488, allocations: 23.98 kB / 0.908 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2488, allocations: 4 kB / 0.908 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2489, allocations: 4 kB / 0.908 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.2495, allocations: 0.49 MB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2496, allocations: 148.6 kB / 0.9086 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.2497, allocations: 19.91 kB / 0.9086 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2499, allocations: 43.97 kB / 0.9087 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.25, allocations: 51.81 kB / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.2501, allocations: 23.98 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.307e-05/0.2501, allocations: 135.8 kB / 0.9089 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2501, allocations: 4 kB / 0.9089 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005057/0.2507, allocations: 211.7 kB / 0.9091 GB, free: 54.82 MB / 0.6042 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.000461/0.2511, allocations: 324.9 kB / 0.9094 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.2517, allocations: 328.5 kB / 0.9097 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2517, allocations: 4 kB / 0.9097 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.2519, allocations: 188.8 kB / 0.9099 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2522, allocations: 36 kB / 0.9099 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.2531, allocations: 0.6627 MB / 0.9106 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.2533, allocations: 0.7614 MB / 0.9113 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2534, allocations: 47.41 kB / 0.9113 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2534, allocations: 0 / 0.9113 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.006188/0.2596, allocations: 5.208 MB / 0.9164 GB, free: 47.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)