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.001641/0.00164, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001932/0.001932, allocations: 193.8 kB / 16.14 MB, free: 6.715 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: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 68.53 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002161/0.4022, allocations: 0.9538 MB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.4052, allocations: 2.529 MB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.4053, allocations: 4 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.4054, allocations: 7.875 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.4056, allocations: 47.62 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008549/0.4065, allocations: 425.7 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.4067, allocations: 291.2 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.4068, allocations: 17.67 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.407, allocations: 139.5 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.4072, allocations: 143.5 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.4073, allocations: 12 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.4078, allocations: 299.8 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.4079, allocations: 63.78 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.408, allocations: 111.5 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.4087, allocations: 0.534 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4087, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4087, allocations: 4 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4087, allocations: 0 / 1.073 GB, free: 5.367 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.001411/0.4102, allocations: 0.6568 MB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4102, allocations: 8.031 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.192e-05/0.4103, allocations: 24.66 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4105, allocations: 196.7 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.4106, allocations: 131.4 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.4107, allocations: 20.38 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.4111, allocations: 252.3 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4111, allocations: 3.938 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.4111, allocations: 8 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.4111, allocations: 4 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.4114, allocations: 115.7 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.4118, allocations: 403.1 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.4133, allocations: 491.3 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.4136, allocations: 158.2 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.4136, allocations: 15.97 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005069/0.4141, allocations: 315.5 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.315e-06/0.4142, allocations: 0 / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0009102/0.4151, allocations: 409.4 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.4152, allocations: 350.1 kB / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.4154, allocations: 175.7 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.4154, allocations: 41.7 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.4155, allocations: 97.12 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4156, allocations: 114.4 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.4158, allocations: 94.22 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4159, allocations: 330.8 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.4162, allocations: 121 kB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.4165, allocations: 173 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.4171, allocations: 266.4 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4172, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007798/0.4179, allocations: 380.1 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.418, allocations: 4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.418, allocations: 4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.418, allocations: 4.75 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.4184, allocations: 79.81 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4185, allocations: 4 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.4188, allocations: 51.66 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.4188, allocations: 15.98 kB / 1.078 GB, free: 15.38 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.0001577/0.419, allocations: 153.7 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.419, allocations: 31.66 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/0.4197, allocations: 358.7 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.4198, allocations: 19.98 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4198, allocations: 4.188 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4198, allocations: 4 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.4202, allocations: 353.1 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4202, allocations: 3.938 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4206, allocations: 71.91 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.4206, allocations: 7.938 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.4206, allocations: 19.98 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.4206, allocations: 8 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4206, allocations: 0 / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.4214, allocations: 493.9 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.4216, allocations: 156.5 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.4216, allocations: 16 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.4219, allocations: 31.97 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.422, allocations: 55.81 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.4221, allocations: 27.92 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001046/0.4222, allocations: 127.2 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4222, allocations: 0 / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006113/0.4228, allocations: 215.7 kB / 1.08 GB, free: 13.13 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.0005442/0.4233, allocations: 329.1 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006678/0.424, allocations: 326.3 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.424, allocations: 4 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.4243, allocations: 196.5 kB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.4246, allocations: 32.55 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009642/0.4256, allocations: 0.6372 MB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4259, allocations: 0.7614 MB / 1.082 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002218/0.4262, allocations: 54.33 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.4263, allocations: 47.41 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.4263, allocations: 4 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.009123/0.4355, allocations: 5.327 MB / 1.088 GB, free: 5.367 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)