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.001005/0.001005, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007868/0.007868, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 6.469 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3874, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001198/0.3887, allocations: 0.6085 MB / 1.075 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003876/0.3926, allocations: 2.514 MB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.3928, allocations: 4 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.3928, allocations: 7.875 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.3931, allocations: 39.69 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3947, allocations: 430.8 kB / 1.078 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.3953, allocations: 295.2 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.3954, allocations: 13.69 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.3958, allocations: 135.5 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.3961, allocations: 147.5 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.3962, allocations: 12 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/0.3969, allocations: 299.8 kB / 1.079 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.397, allocations: 55.8 kB / 1.079 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.3972, allocations: 137.2 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3983, allocations: 0.5339 MB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3983, allocations: 0 / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.554e-06/0.3983, allocations: 0 / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.3984, allocations: 0 / 1.079 GB, free: 2.305 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.001729/0.4001, allocations: 0.6295 MB / 1.08 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.4002, allocations: 8.031 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.4003, allocations: 20.75 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.4005, allocations: 208.6 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.4007, allocations: 123.4 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.4008, allocations: 24.36 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.4012, allocations: 244.4 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4013, allocations: 0 / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.4013, allocations: 15.92 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4013, allocations: 4 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.4016, allocations: 115.7 kB / 1.081 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.4023, allocations: 399.2 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.404, allocations: 0.4915 MB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.4043, allocations: 150.2 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.4043, allocations: 11.98 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/0.4049, allocations: 315.5 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=40): time 2.775e-06/0.4049, allocations: 0 / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.0008945/0.4058, allocations: 418.5 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.406, allocations: 358.6 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4062, allocations: 167.3 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.4062, allocations: 37.7 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.4063, allocations: 97.05 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4064, allocations: 110.5 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.4065, allocations: 53.7 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4067, allocations: 330.8 kB / 1.083 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.407, allocations: 121 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.4073, allocations: 165 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.4079, allocations: 270.7 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4079, allocations: 0 / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000784/0.4087, allocations: 380.3 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4087, allocations: 4 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4087, allocations: 4 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4087, allocations: 3.984 kB / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.4091, allocations: 79.83 kB / 1.084 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4091, allocations: 4 kB / 1.084 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.4095, allocations: 63.78 kB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.4095, allocations: 19.98 kB / 1.084 GB, free: 12.37 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.0002217/0.4097, allocations: 149.8 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.4098, allocations: 31.66 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.4105, allocations: 354.1 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4106, allocations: 8 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.4106, allocations: 4 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4106, allocations: 7.984 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.411, allocations: 353 kB / 1.085 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.411, allocations: 11.94 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.4113, allocations: 67.91 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.4114, allocations: 11.94 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.4114, allocations: 19.98 kB / 1.085 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.4114, allocations: 4 kB / 1.085 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4114, allocations: 4 kB / 1.085 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.4121, allocations: 498.1 kB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.4123, allocations: 156.7 kB / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.4124, allocations: 20 kB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.4127, allocations: 31.97 kB / 1.086 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4128, allocations: 59.8 kB / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.4128, allocations: 23.98 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.33e-05/0.4129, allocations: 135.2 kB / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4129, allocations: 0 / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006408/0.4136, allocations: 211.7 kB / 1.087 GB, free: 10.12 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.000643/0.4142, allocations: 320.9 kB / 1.087 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006395/0.4149, allocations: 330.5 kB / 1.087 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4149, allocations: 3.938 kB / 1.087 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.4152, allocations: 195.6 kB / 1.087 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.4155, allocations: 28 kB / 1.087 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.4166, allocations: 0.644 MB / 1.088 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.4169, allocations: 0.7652 MB / 1.089 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.4172, allocations: 61.73 kB / 1.089 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.4173, allocations: 43.42 kB / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.4173, allocations: 0 / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of Templates: time 0.009996/0.4273, allocations: 5.277 MB / 1.094 GB, free: 2.402 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)