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.453/2.453, allocations: 284.8 MB / 297.3 MB, free: 6.363 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.00149/0.001489, allocations: 184.8 kB / 365.7 MB, free: 2.566 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.172/2.172, allocations: 205.1 MB / 0.6241 GB, free: 8.18 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.0009945/0.0009941, allocations: 106 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.44e-05, allocations: 4 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9127/0.9128, allocations: 115.2 MB / 0.97 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/1.178, allocations: 138.6 MB / 1.105 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.178, allocations: 68.45 kB / 1.105 GB, free: 13.8 MB / 0.7136 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.05533/1.233, allocations: 10.06 MB / 1.115 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/1.234, allocations: 0 / 1.115 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.234, allocations: 4 kB / 1.115 GB, free: 3.809 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.001876/1.235, allocations: 0.607 MB / 1.116 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/1.236, allocations: 12.03 kB / 1.116 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/1.236, allocations: 21.02 kB / 1.116 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/1.236, allocations: 193.6 kB / 1.116 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/1.236, allocations: 134.7 kB / 1.116 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/1.236, allocations: 16 kB / 1.116 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/1.237, allocations: 247.7 kB / 1.116 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.237, allocations: 4 kB / 1.116 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/1.237, allocations: 4 kB / 1.116 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.237, allocations: 8 kB / 1.116 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/1.237, allocations: 119.8 kB / 1.117 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/1.239, allocations: 0.955 MB / 1.117 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.241, allocations: 487.6 kB / 1.118 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/1.241, allocations: 158.3 kB / 1.118 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/1.242, allocations: 4 kB / 1.118 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/1.242, allocations: 301.9 kB / 1.118 GB, free: 140 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.636e-06/1.242, allocations: 0 / 1.118 GB, free: 140 kB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001029/1.243, allocations: 311.8 kB / 1.119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/1.243, allocations: 359.6 kB / 1.119 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/1.244, allocations: 164.6 kB / 1.119 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/1.244, allocations: 41.7 kB / 1.119 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/1.244, allocations: 108.9 kB / 1.119 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.244, allocations: 102.5 kB / 1.119 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/1.244, allocations: 12 kB / 1.119 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.244, allocations: 330.8 kB / 1.12 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/1.245, allocations: 97.11 kB / 1.12 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/1.245, allocations: 168.4 kB / 1.12 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/1.245, allocations: 110.9 kB / 1.12 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.245, allocations: 0 / 1.12 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00101/1.246, allocations: 348.3 kB / 1.12 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.246, allocations: 8 kB / 1.12 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.246, allocations: 0 / 1.12 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.246, allocations: 8 kB / 1.12 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/1.247, allocations: 83.81 kB / 1.121 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/1.247, allocations: 11.94 kB / 1.121 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/1.248, allocations: 51.67 kB / 1.121 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/1.248, allocations: 23.98 kB / 1.121 GB, free: 13.71 MB / 0.7292 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): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * 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.0001772/1.248, allocations: 138.1 kB / 1.121 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/1.248, allocations: 27.55 kB / 1.121 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/1.249, allocations: 360.8 kB / 1.121 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.249, allocations: 8 kB / 1.121 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.249, allocations: 4 kB / 1.121 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/1.249, allocations: 11.94 kB / 1.121 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/1.25, allocations: 357 kB / 1.121 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/1.25, allocations: 3.469 kB / 1.121 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/1.251, allocations: 79.83 kB / 1.122 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/1.251, allocations: 4 kB / 1.122 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/1.251, allocations: 19.98 kB / 1.122 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/1.251, allocations: 8 kB / 1.122 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.251, allocations: 0 / 1.122 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.252, allocations: 0.6082 MB / 1.122 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/1.252, allocations: 152.5 kB / 1.122 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/1.252, allocations: 12 kB / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/1.253, allocations: 39.91 kB / 1.122 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.253, allocations: 55.89 kB / 1.122 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/1.253, allocations: 23.98 kB / 1.122 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001602/1.253, allocations: 131.2 kB / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.253, allocations: 0 / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001019/1.254, allocations: 215.7 kB / 1.123 GB, free: 11.3 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.0008679/1.255, allocations: 322 kB / 1.123 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009646/1.256, allocations: 299.6 kB / 1.123 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.256, allocations: 4 kB / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004877/1.257, allocations: 186.2 kB / 1.124 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/1.257, allocations: 16.19 kB / 1.124 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.258, allocations: 436.9 kB / 1.124 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/1.259, allocations: 0.765 MB / 1.125 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004385/1.259, allocations: 62.52 kB / 1.125 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/1.259, allocations: 47.41 kB / 1.125 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/1.259, allocations: 0 / 1.125 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of Templates: time 0.01474/1.274, allocations: 4.699 MB / 1.129 GB, free: 4.477 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)