Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009343, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.006307/0.006307, allocations: 170 kB / 16.27 MB, free: 6.652 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 9.812 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.404, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001084/0.4051, allocations: 0.6124 MB / 1.075 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.4081, allocations: 2.51 MB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.4082, allocations: 0 / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.4082, allocations: 11.86 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.4085, allocations: 43.69 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008074/0.4093, allocations: 418.9 kB / 1.078 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.4096, allocations: 303.1 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.4097, allocations: 13.69 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.4099, allocations: 135.5 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.4101, allocations: 147.5 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.4101, allocations: 12 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.4106, allocations: 299.8 kB / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.4107, allocations: 55.8 kB / 1.079 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.4108, allocations: 137.2 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.4115, allocations: 0.5339 MB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4115, allocations: 0 / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4115, allocations: 0 / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4115, allocations: 0 / 1.079 GB, free: 2.297 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.001305/0.4128, allocations: 0.6295 MB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4128, allocations: 8.031 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.4129, allocations: 20.75 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.4131, allocations: 200.6 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.4133, allocations: 131.4 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.4133, allocations: 24.36 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.4137, allocations: 244.3 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4137, allocations: 4 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.4137, allocations: 4 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4138, allocations: 15.92 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.414, allocations: 111.7 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.4144, allocations: 403.1 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.4159, allocations: 499.3 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.4161, allocations: 158.3 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.4162, allocations: 7.984 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004901/0.4167, allocations: 311.5 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=40): time 2.465e-06/0.4167, allocations: 0 / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.0008031/0.4175, allocations: 426.5 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.4177, allocations: 354.1 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4179, allocations: 155.4 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.4179, allocations: 46.19 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.418, allocations: 97.05 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.4181, allocations: 110.5 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.4182, allocations: 53.69 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4183, allocations: 330.8 kB / 1.083 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.4186, allocations: 121 kB / 1.083 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.4189, allocations: 169 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.4194, allocations: 273.7 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4195, allocations: 0 / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007374/0.4202, allocations: 380.1 kB / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4202, allocations: 4 kB / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4202, allocations: 0 / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4203, allocations: 4 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.4206, allocations: 83.81 kB / 1.084 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4207, allocations: 4 kB / 1.084 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.421, allocations: 59.66 kB / 1.084 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.421, allocations: 19.98 kB / 1.084 GB, free: 12.36 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.0001658/0.4212, allocations: 145.8 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.4212, allocations: 35.66 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/0.4219, allocations: 350.1 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4219, allocations: 16 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4219, allocations: 4 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.422, allocations: 3.984 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.4224, allocations: 353 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4224, allocations: 3.938 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.4227, allocations: 75.89 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.4227, allocations: 4.375 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.4227, allocations: 19.94 kB / 1.085 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.4227, allocations: 15.98 kB / 1.085 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4228, allocations: 0 / 1.085 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.4235, allocations: 497.9 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.4236, allocations: 156.5 kB / 1.086 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.4237, allocations: 16 kB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.424, allocations: 40.09 kB / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4241, allocations: 55.81 kB / 1.086 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.4241, allocations: 27.97 kB / 1.086 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001081/0.4242, allocations: 131.2 kB / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4242, allocations: 3.938 kB / 1.086 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005476/0.4248, allocations: 211.7 kB / 1.087 GB, free: 10.11 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.0005347/0.4253, allocations: 320.9 kB / 1.087 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006268/0.426, allocations: 327.7 kB / 1.087 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.426, allocations: 4 kB / 1.087 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.4262, allocations: 183.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.0003243/0.4266, allocations: 35.98 kB / 1.087 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4276, allocations: 0.645 MB / 1.088 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4279, allocations: 0.7613 MB / 1.089 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.4281, allocations: 58.06 kB / 1.089 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.4283, allocations: 47.34 kB / 1.089 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4283, allocations: 0 / 1.089 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of Templates: time 0.009993/0.4383, allocations: 5.283 MB / 1.094 GB, free: 2.395 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)