Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001091/0.001091, allocations: 182.2 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009683/0.0009686, allocations: 92.62 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.619e-05/5.62e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3224, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9509/1.273, allocations: 139.7 MB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.274, allocations: 70.06 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0307/1.304, allocations: 10.35 MB / 1.126 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/1.304, allocations: 0 / 1.126 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.032e-05/1.304, allocations: 4 kB / 1.126 GB, free: 38.23 MB / 0.7448 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.001228/1.306, allocations: 0.6219 MB / 1.127 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.306, allocations: 8.031 kB / 1.127 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/1.306, allocations: 26.78 kB / 1.127 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/1.306, allocations: 189.1 kB / 1.127 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/1.306, allocations: 137.4 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/1.306, allocations: 17.75 kB / 1.127 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/1.307, allocations: 234.4 kB / 1.128 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.307, allocations: 4.688 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/1.307, allocations: 10.94 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.307, allocations: 4 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/1.307, allocations: 104.4 kB / 1.128 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/1.307, allocations: 396.1 kB / 1.128 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.308, allocations: 498.3 kB / 1.129 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/1.309, allocations: 151 kB / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/1.309, allocations: 11.12 kB / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/1.309, allocations: 316.7 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/1.309, allocations: 0 / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0006241/1.31, allocations: 316.9 kB / 1.129 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.31, allocations: 357.3 kB / 1.13 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.31, allocations: 154.9 kB / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/1.31, allocations: 40.64 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/1.31, allocations: 92.39 kB / 1.13 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/1.31, allocations: 110.9 kB / 1.13 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/1.31, allocations: 7.062 kB / 1.13 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/1.31, allocations: 332.2 kB / 1.13 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.311, allocations: 104.8 kB / 1.131 GB, free: 34.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/1.311, allocations: 155.5 kB / 1.131 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/1.311, allocations: 109.6 kB / 1.131 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.311, allocations: 4 kB / 1.131 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005174/1.312, allocations: 360.4 kB / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.312, allocations: 4 kB / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.312, allocations: 0 / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.312, allocations: 4.625 kB / 1.131 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/1.312, allocations: 80.06 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.312, allocations: 4 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/1.312, allocations: 57.03 kB / 1.131 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/1.312, allocations: 22.66 kB / 1.131 GB, free: 33.78 MB / 0.7448 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001128/1.312, allocations: 142 kB / 1.131 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/1.312, allocations: 31.22 kB / 1.131 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/1.313, allocations: 357.8 kB / 1.132 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.313, allocations: 8 kB / 1.132 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.313, allocations: 4.688 kB / 1.132 GB, free: 33.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.313, allocations: 8.688 kB / 1.132 GB, free: 33.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/1.313, allocations: 343 kB / 1.132 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.313, allocations: 11.95 kB / 1.132 GB, free: 33.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/1.314, allocations: 73.42 kB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.314, allocations: 4.875 kB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/1.314, allocations: 24.58 kB / 1.132 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/1.314, allocations: 7.938 kB / 1.132 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.314, allocations: 4 kB / 1.132 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/1.315, allocations: 0.6014 MB / 1.133 GB, free: 32.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.315, allocations: 152.4 kB / 1.133 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/1.315, allocations: 25.12 kB / 1.133 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.315, allocations: 37.78 kB / 1.133 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/1.315, allocations: 48.05 kB / 1.133 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/1.315, allocations: 26.75 kB / 1.133 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.393e-05/1.315, allocations: 132.7 kB / 1.133 GB, free: 32.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.315, allocations: 0 / 1.133 GB, free: 32.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007185/1.316, allocations: 223.6 kB / 1.133 GB, free: 31.91 MB / 0.7448 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) * 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.0005099/1.316, allocations: 329.8 kB / 1.134 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005014/1.317, allocations: 309 kB / 1.134 GB, free: 31.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.317, allocations: 0 / 1.134 GB, free: 31.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/1.317, allocations: 189.1 kB / 1.134 GB, free: 31.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/1.317, allocations: 30.66 kB / 1.134 GB, free: 31.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/1.318, allocations: 442.5 kB / 1.135 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/1.318, allocations: 0.7642 MB / 1.135 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002529/1.319, allocations: 61.61 kB / 1.135 GB, free: 30.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.319, allocations: 45.59 kB / 1.136 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.319, allocations: 0 / 1.136 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.007997/1.327, allocations: 4.823 MB / 1.14 GB, free: 27.3 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)