Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 188.9 kB / 16.25 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 62.22 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4216, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002755/0.4244, allocations: 0.9512 MB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003827/0.4283, allocations: 2.478 MB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.4284, allocations: 3.938 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.039e-05/0.4285, allocations: 7.875 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.4288, allocations: 39.67 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.4306, allocations: 454.8 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.4311, allocations: 315.1 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.483e-05/0.4312, allocations: 13.95 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.4315, allocations: 143.6 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.4318, allocations: 151.5 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.4319, allocations: 24 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006762/0.4326, allocations: 311.7 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.4327, allocations: 75.78 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.4328, allocations: 123.5 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009449/0.4338, allocations: 0.5454 MB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4338, allocations: 3.938 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4338, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.4338, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 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.001757/0.4356, allocations: 0.6646 MB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4356, allocations: 8.031 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.4358, allocations: 24.66 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4359, allocations: 192.8 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.4361, allocations: 123.4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.4362, allocations: 24.38 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.4366, allocations: 244.3 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4366, allocations: 8 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.4366, allocations: 4 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.4366, allocations: 4 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.4369, allocations: 115.7 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.4374, allocations: 395.1 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.4389, allocations: 499.2 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.4392, allocations: 158.3 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.4392, allocations: 8 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.4397, allocations: 327.4 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.4397, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0009564/0.4407, allocations: 413.6 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/0.441, allocations: 354 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.4411, allocations: 167.2 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.4412, allocations: 41.7 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.4413, allocations: 93.64 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4414, allocations: 114.4 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.4415, allocations: 98.22 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4417, allocations: 330.8 kB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.4419, allocations: 117 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.4422, allocations: 165 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.4428, allocations: 274.4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4428, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007511/0.4435, allocations: 377.1 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4436, allocations: 8 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4436, allocations: 0 / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4436, allocations: 4 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.444, allocations: 83.81 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.444, allocations: 4 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.4443, allocations: 43.66 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.4444, allocations: 24.98 kB / 1.078 GB, free: 15.17 MB / 0.8419 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.0001714/0.4446, allocations: 149.7 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.4446, allocations: 27.66 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.4454, allocations: 370.1 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4455, allocations: 8 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4455, allocations: 7.984 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4455, allocations: 4 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.4459, allocations: 353.1 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4459, allocations: 7.938 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.4462, allocations: 75.84 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4463, allocations: 4 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.4463, allocations: 19.98 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.4463, allocations: 4 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4463, allocations: 4 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.4471, allocations: 494 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.4473, allocations: 156.5 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.4473, allocations: 19.94 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.4476, allocations: 31.97 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4477, allocations: 55.75 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.4478, allocations: 24.23 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.95e-05/0.4479, allocations: 135.2 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4479, allocations: 0 / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006247/0.4485, allocations: 215.7 kB / 1.081 GB, free: 12.91 MB / 0.8419 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.0006778/0.4492, allocations: 313 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006953/0.4499, allocations: 362.6 kB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4499, allocations: 0 / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.4502, allocations: 183.7 kB / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.4505, allocations: 36.69 kB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4517, allocations: 0.651 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.452, allocations: 0.7572 MB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.4522, allocations: 62.42 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.4524, allocations: 47.41 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.4524, allocations: 0 / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.01026/0.4627, allocations: 5.495 MB / 1.088 GB, free: 4.957 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)