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.001469/0.001469, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 198.1 kB / 16.53 MB, free: 6.668 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.002/3.002, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.11 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4353, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002548/0.4379, allocations: 0.896 MB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004952/0.4429, allocations: 2.484 MB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.4431, allocations: 3.938 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.4431, allocations: 11.81 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.4435, allocations: 55.55 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.445, allocations: 0.4905 MB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.4454, allocations: 307.2 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.926e-05/0.4455, allocations: 25.94 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.4458, allocations: 139.6 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.4461, allocations: 151.5 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/0.4462, allocations: 24 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006985/0.4469, allocations: 311.8 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.447, allocations: 71.78 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.4471, allocations: 115.5 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.4483, allocations: 0.5493 MB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.4483, allocations: 0 / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4483, allocations: 0 / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4483, allocations: 4 kB / 1.074 GB, free: 4.766 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.001634/0.45, allocations: 0.6528 MB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.45, allocations: 16.03 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.4502, allocations: 24.66 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4504, allocations: 190 kB / 1.075 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.4506, allocations: 127.4 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.4506, allocations: 20.38 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.451, allocations: 256.3 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4511, allocations: 3.938 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.4511, allocations: 8 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4511, allocations: 4 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.4513, allocations: 111.8 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.4519, allocations: 399 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4535, allocations: 499.2 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.4537, allocations: 162.3 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.4538, allocations: 7.984 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.4543, allocations: 323.4 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.985e-06/0.4543, allocations: 0 / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008546/0.4552, allocations: 409 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.4553, allocations: 358.6 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.4555, allocations: 169.1 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.4556, allocations: 45.7 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.4556, allocations: 93.12 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4557, allocations: 110.5 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4559, allocations: 98.22 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.456, allocations: 326.8 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.4563, allocations: 121 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.4567, allocations: 169 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.4572, allocations: 266 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4572, allocations: 0 / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007371/0.458, allocations: 388.7 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.458, allocations: 5.719 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.458, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.458, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.4584, allocations: 79.88 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4584, allocations: 4 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.4587, allocations: 47.66 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4588, allocations: 19.98 kB / 1.079 GB, free: 14.78 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.0001736/0.4589, allocations: 167.4 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.459, allocations: 31.64 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.4597, allocations: 362 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4598, allocations: 8 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4598, allocations: 4 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4598, allocations: 4 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.4602, allocations: 349.1 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4602, allocations: 7.938 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.4605, allocations: 71.84 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4605, allocations: 4 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.4606, allocations: 19.98 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.4606, allocations: 11.94 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.4606, allocations: 7.938 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.4613, allocations: 497.9 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.4615, allocations: 148.5 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.4616, allocations: 23.92 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.4618, allocations: 27.92 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.462, allocations: 55.88 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.462, allocations: 24.23 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001109/0.4621, allocations: 119.2 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4621, allocations: 0 / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006525/0.4628, allocations: 215.7 kB / 1.081 GB, free: 12.54 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.0005866/0.4634, allocations: 321.7 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.4641, allocations: 359.7 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4641, allocations: 4 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.4644, allocations: 187.6 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.4648, allocations: 31.98 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.4658, allocations: 0.5613 MB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4662, allocations: 0.7533 MB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.4665, allocations: 57.56 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4666, allocations: 47.41 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.4666, allocations: 4 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.01102/0.4776, allocations: 5.617 MB / 1.089 GB, free: 4.543 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)