Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.54/2.54, allocations: 287.5 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 184 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009717/0.0009713, allocations: 96.78 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 12.23 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9367/1.153, allocations: 138.7 MB / 1.115 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.153, allocations: 70.2 kB / 1.115 GB, free: 15.67 MB / 0.6823 GB [/home/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.05909/1.212, allocations: 10.13 MB / 1.125 GB, free: 30.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.477e-06/1.212, allocations: 3.938 kB / 1.125 GB, free: 30.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.74e-05/1.212, allocations: 7.812 kB / 1.125 GB, free: 30.82 MB / 0.698 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.002793/1.215, allocations: 0.6169 MB / 1.125 GB, free: 30.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/1.215, allocations: 11.56 kB / 1.125 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/1.215, allocations: 26.77 kB / 1.125 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/1.215, allocations: 197.8 kB / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/1.216, allocations: 127.1 kB / 1.126 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.216, allocations: 23.44 kB / 1.126 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/1.217, allocations: 248.5 kB / 1.126 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.217, allocations: 3.938 kB / 1.126 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/1.217, allocations: 11.19 kB / 1.126 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/1.217, allocations: 6.641 kB / 1.126 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/1.217, allocations: 118.9 kB / 1.126 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/1.219, allocations: 0.9489 MB / 1.127 GB, free: 29.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/1.223, allocations: 0.4899 MB / 1.127 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/1.223, allocations: 156.3 kB / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.382e-05/1.223, allocations: 13.98 kB / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/1.224, allocations: 305.5 kB / 1.128 GB, free: 28.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 5.149e-06/1.224, allocations: 4 kB / 1.128 GB, free: 28.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001907/1.226, allocations: 389.3 kB / 1.128 GB, free: 28.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000281/1.227, allocations: 359.7 kB / 1.129 GB, free: 27.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/1.227, allocations: 172.8 kB / 1.129 GB, free: 27.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.227, allocations: 41.58 kB / 1.129 GB, free: 27.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.227, allocations: 107 kB / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/1.227, allocations: 118.9 kB / 1.129 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/1.227, allocations: 7.75 kB / 1.129 GB, free: 27.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.228, allocations: 338 kB / 1.129 GB, free: 27.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/1.228, allocations: 105 kB / 1.129 GB, free: 27.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/1.229, allocations: 178.8 kB / 1.13 GB, free: 27.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/1.23, allocations: 275 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.23, allocations: 3.844 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001883/1.232, allocations: 373.3 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/1.232, allocations: 3.781 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.232, allocations: 6.453 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.233, allocations: 3.844 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.234, allocations: 75.33 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.234, allocations: 10.53 kB / 1.13 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/1.234, allocations: 59.06 kB / 1.13 GB, free: 27.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/1.234, allocations: 19.36 kB / 1.13 GB, free: 27.08 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002565/1.235, allocations: 160.6 kB / 1.131 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/1.235, allocations: 20.69 kB / 1.131 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/1.236, allocations: 370.1 kB / 1.131 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.236, allocations: 11.62 kB / 1.131 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.236, allocations: 3.844 kB / 1.131 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.236, allocations: 10.78 kB / 1.131 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/1.236, allocations: 351.5 kB / 1.131 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.236, allocations: 3.844 kB / 1.131 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/1.237, allocations: 69.72 kB / 1.131 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.237, allocations: 7.656 kB / 1.131 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/1.237, allocations: 24.09 kB / 1.131 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/1.237, allocations: 3.906 kB / 1.131 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.237, allocations: 10.38 kB / 1.131 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/1.238, allocations: 485.8 kB / 1.132 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/1.238, allocations: 146.1 kB / 1.132 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/1.238, allocations: 17.36 kB / 1.132 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/1.239, allocations: 40.55 kB / 1.132 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.239, allocations: 53.8 kB / 1.132 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/1.239, allocations: 24.48 kB / 1.132 GB, free: 26.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001444/1.239, allocations: 128.4 kB / 1.132 GB, free: 26.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.239, allocations: 0 / 1.132 GB, free: 26.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009248/1.24, allocations: 215.8 kB / 1.132 GB, free: 26.2 MB / 0.698 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) * 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 (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.0007417/1.241, allocations: 317.2 kB / 1.133 GB, free: 26.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009671/1.242, allocations: 322.7 kB / 1.133 GB, free: 26.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.242, allocations: 0 / 1.133 GB, free: 26.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004156/1.242, allocations: 181.2 kB / 1.133 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/1.243, allocations: 41.12 kB / 1.133 GB, free: 26.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/1.244, allocations: 0.641 MB / 1.134 GB, free: 25.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/1.244, allocations: 0.7624 MB / 1.135 GB, free: 24.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004605/1.245, allocations: 55.58 kB / 1.135 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/1.245, allocations: 45.48 kB / 1.135 GB, free: 24.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.245, allocations: 0 / 1.135 GB, free: 24.88 MB / 0.698 GB Notification: Performance of Templates: time 0.01251/1.258, allocations: 4.7 MB / 1.139 GB, free: 22.95 MB / 0.698 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)