Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 179.6 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 97.94 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 11.66 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.243, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.4226, allocations: 132.7 MB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4229, allocations: 75.95 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03314/0.4561, allocations: 10.42 MB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.716e-06/0.4561, allocations: 0 / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.4561, allocations: 8 kB / 1.04 GB, free: 0.5039 MB / 0.6823 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.001391/0.4575, allocations: 0.6302 MB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4576, allocations: 12.03 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.4577, allocations: 23.72 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.4578, allocations: 191.5 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.458, allocations: 126.8 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.458, allocations: 16 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.4584, allocations: 235.8 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4584, allocations: 4 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.4585, allocations: 4 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4585, allocations: 4 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.4587, allocations: 115.7 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.4592, allocations: 395.1 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.4606, allocations: 495.5 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.4606, allocations: 23.98 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/0.4611, allocations: 308.1 kB / 1.042 GB, free: 13.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.4611, allocations: 0 / 1.042 GB, free: 13.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007908/0.4619, allocations: 414 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.4621, allocations: 358.1 kB / 1.043 GB, free: 12.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.4623, allocations: 153.2 kB / 1.043 GB, free: 12.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.4623, allocations: 37.7 kB / 1.043 GB, free: 12.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.4624, allocations: 105 kB / 1.043 GB, free: 12.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.4625, allocations: 110.5 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.4625, allocations: 4 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4627, allocations: 346.8 kB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.4629, allocations: 113.1 kB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.4632, allocations: 164.9 kB / 1.044 GB, free: 11.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.4635, allocations: 115.1 kB / 1.044 GB, free: 11.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4635, allocations: 0 / 1.044 GB, free: 11.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007116/0.4642, allocations: 379.7 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4642, allocations: 8 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4642, allocations: 3.938 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4643, allocations: 4 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.4647, allocations: 79.81 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4647, allocations: 4 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.465, allocations: 55.66 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.465, allocations: 19.98 kB / 1.045 GB, free: 11.01 MB / 0.698 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 () * 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.0001605/0.4652, allocations: 157.7 kB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.4653, allocations: 23.72 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/0.4659, allocations: 366.7 kB / 1.045 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.4659, allocations: 8 kB / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.466, allocations: 4 kB / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.466, allocations: 4.672 kB / 1.045 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.4664, allocations: 353.1 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4664, allocations: 0 / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.4667, allocations: 79.83 kB / 1.046 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4667, allocations: 4 kB / 1.046 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.4667, allocations: 20 kB / 1.046 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-05/0.4668, allocations: 8 kB / 1.046 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4668, allocations: 7.984 kB / 1.046 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.4675, allocations: 0.61 MB / 1.046 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.4677, allocations: 152.5 kB / 1.047 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.4677, allocations: 16 kB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.468, allocations: 39.97 kB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4681, allocations: 51.88 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4681, allocations: 23.98 kB / 1.047 GB, free: 8.902 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001033/0.4683, allocations: 123.8 kB / 1.047 GB, free: 8.781 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4683, allocations: 3.938 kB / 1.047 GB, free: 8.777 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007348/0.469, allocations: 227.7 kB / 1.047 GB, free: 8.555 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,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 (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.0005684/0.4696, allocations: 333.1 kB / 1.047 GB, free: 8.223 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006126/0.4702, allocations: 329.2 kB / 1.048 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4702, allocations: 0 / 1.048 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.4705, allocations: 184.4 kB / 1.048 GB, free: 7.719 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.4707, allocations: 22 kB / 1.048 GB, free: 7.695 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.4717, allocations: 0.6402 MB / 1.048 GB, free: 6.996 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.472, allocations: 0.7652 MB / 1.049 GB, free: 6.207 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.4723, allocations: 59.23 kB / 1.049 GB, free: 6.148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4724, allocations: 47.41 kB / 1.049 GB, free: 6.102 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.4724, allocations: 0 / 1.049 GB, free: 6.102 MB / 0.698 GB Notification: Performance of Templates: time 0.008988/0.4814, allocations: 4.813 MB / 1.054 GB, free: 1.328 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches