Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.557/2.557, allocations: 285 MB / 292.5 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 184.8 kB / 360.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.265/2.265, allocations: 205.3 MB / 0.6192 GB, free: 12.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 91.61 kB / 0.7322 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.968e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8835/0.8836, allocations: 115.2 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/1.135, allocations: 137.9 MB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.135, allocations: 66.05 kB / 1.098 GB, free: 2.527 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.05525/1.19, allocations: 10.02 MB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.402e-06/1.19, allocations: 4 kB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.497e-06/1.19, allocations: 0 / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001901/1.192, allocations: 0.6109 MB / 1.109 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.192, allocations: 12.02 kB / 1.109 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.64e-05/1.192, allocations: 21.02 kB / 1.109 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/1.193, allocations: 186.8 kB / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/1.193, allocations: 4 kB / 1.109 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/1.193, allocations: 12 kB / 1.109 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003998/1.193, allocations: 95.95 kB / 1.109 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/1.194, allocations: 230.7 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.194, allocations: 7.938 kB / 1.109 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/1.194, allocations: 3.984 kB / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/1.194, allocations: 4 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/1.195, allocations: 0.913 MB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/1.197, allocations: 475.7 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/1.198, allocations: 142.3 kB / 1.111 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/1.198, allocations: 11.98 kB / 1.111 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/1.198, allocations: 293 kB / 1.111 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.697e-06/1.198, allocations: 0 / 1.111 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003751/1.202, allocations: 494.8 kB / 1.111 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/1.203, allocations: 346.1 kB / 1.112 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/1.203, allocations: 160.4 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/1.203, allocations: 33.83 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.203, allocations: 109.2 kB / 1.112 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/1.203, allocations: 106.5 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/1.203, allocations: 3.938 kB / 1.112 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002285/1.203, allocations: 338.8 kB / 1.112 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/1.204, allocations: 89.11 kB / 1.112 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/1.205, allocations: 159.3 kB / 1.113 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009544/1.214, allocations: 434.4 kB / 1.113 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/1.214, allocations: 4 kB / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.006612/1.221, allocations: 0.6518 MB / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.221, allocations: 4 kB / 1.114 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.221, allocations: 4 kB / 1.114 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/1.221, allocations: 4 kB / 1.114 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/1.222, allocations: 63.89 kB / 1.114 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.222, allocations: 8 kB / 1.114 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/1.222, allocations: 51.66 kB / 1.114 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/1.222, allocations: 26.12 kB / 1.114 GB, free: 2.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002052/1.223, allocations: 131.8 kB / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/1.223, allocations: 23.72 kB / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.224, allocations: 326.8 kB / 1.114 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.224, allocations: 11.94 kB / 1.114 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.224, allocations: 4 kB / 1.114 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/1.224, allocations: 9.609 kB / 1.114 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/1.224, allocations: 301.6 kB / 1.115 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/1.224, allocations: 4 kB / 1.115 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/1.225, allocations: 81.72 kB / 1.115 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.536e-05/1.225, allocations: 7.984 kB / 1.115 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/1.225, allocations: 12 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/1.225, allocations: 4 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.225, allocations: 4 kB / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/1.229, allocations: 0.783 MB / 1.115 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/1.23, allocations: 148.5 kB / 1.116 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.23, allocations: 12.03 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/1.23, allocations: 23.94 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.23, allocations: 59.83 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/1.23, allocations: 23.98 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001632/1.231, allocations: 123.3 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/1.231, allocations: 0 / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001056/1.232, allocations: 199.7 kB / 1.116 GB, free: 15.57 MB / 0.7292 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000869/1.233, allocations: 314 kB / 1.116 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002631/1.235, allocations: 2.968 MB / 1.119 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.235, allocations: 0 / 1.119 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005142/1.236, allocations: 166.4 kB / 1.119 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.236, allocations: 20.12 kB / 1.119 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/1.237, allocations: 408.7 kB / 1.12 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/1.238, allocations: 0.7651 MB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003963/1.238, allocations: 51.98 kB / 1.121 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/1.238, allocations: 47.41 kB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/1.238, allocations: 0 / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.01511/1.254, allocations: 4.725 MB / 1.125 GB, free: 6.035 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)