Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.442/2.442, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 179.9 kB / 0.4902 GB, free: 2.301 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.677/1.677, allocations: 223.2 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 106.1 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004586, allocations: 10.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3191, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.5347, allocations: 150.8 MB / 1.377 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.535, allocations: 71.95 kB / 1.377 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03571/0.5708, allocations: 10.57 MB / 1.387 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5708, allocations: 0 / 1.387 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5708, allocations: 4 kB / 1.387 GB, free: 8.105 MB / 0.8855 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.001529/0.5724, allocations: 0.6343 MB / 1.388 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5724, allocations: 12.56 kB / 1.388 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.5726, allocations: 23.81 kB / 1.388 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.5728, allocations: 191.4 kB / 1.388 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.573, allocations: 122.8 kB / 1.388 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.573, allocations: 20 kB / 1.388 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.5734, allocations: 244.5 kB / 1.388 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5734, allocations: 4 kB / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.5735, allocations: 8 kB / 1.388 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.5735, allocations: 4 kB / 1.388 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.5737, allocations: 115.7 kB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.5743, allocations: 395.2 kB / 1.389 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.5758, allocations: 499.5 kB / 1.389 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.5758, allocations: 12.06 kB / 1.389 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004844/0.5763, allocations: 311.5 kB / 1.389 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.5763, allocations: 0 / 1.389 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.0008582/0.5772, allocations: 409.8 kB / 1.39 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/0.5774, allocations: 358.5 kB / 1.39 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5775, allocations: 152.1 kB / 1.39 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.5776, allocations: 37.7 kB / 1.39 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.5777, allocations: 101 kB / 1.39 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.5778, allocations: 106.6 kB / 1.391 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.5778, allocations: 11.94 kB / 1.391 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.578, allocations: 338.8 kB / 1.391 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.5783, allocations: 113.1 kB / 1.391 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.5786, allocations: 161 kB / 1.391 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.5789, allocations: 125.1 kB / 1.391 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5789, allocations: 0 / 1.391 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007439/0.5796, allocations: 376.6 kB / 1.392 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5797, allocations: 8 kB / 1.392 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5797, allocations: 4.062 kB / 1.392 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.5797, allocations: 8 kB / 1.392 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.5801, allocations: 75.88 kB / 1.392 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.5802, allocations: 4 kB / 1.392 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.5805, allocations: 51.66 kB / 1.392 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.5805, allocations: 19.98 kB / 1.392 GB, free: 2.617 MB / 0.8855 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.0001852/0.5807, allocations: 167.2 kB / 1.392 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.5808, allocations: 27.7 kB / 1.392 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007061/0.5815, allocations: 361.9 kB / 1.392 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5816, allocations: 12 kB / 1.392 GB, free: 2.047 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5816, allocations: 4 kB / 1.392 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5816, allocations: 7.984 kB / 1.392 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.582, allocations: 353 kB / 1.393 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.582, allocations: 0 / 1.393 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.5823, allocations: 75.89 kB / 1.393 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.5824, allocations: 4 kB / 1.393 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.5824, allocations: 16 kB / 1.393 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.5824, allocations: 11.94 kB / 1.393 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5824, allocations: 0 / 1.393 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/0.5832, allocations: 0.6183 MB / 1.393 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.5835, allocations: 156.5 kB / 1.393 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.5835, allocations: 16 kB / 1.394 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.5838, allocations: 35.97 kB / 1.394 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5839, allocations: 55.88 kB / 1.394 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.5839, allocations: 23.98 kB / 1.394 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001165/0.5841, allocations: 131.2 kB / 1.394 GB, free: 376 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5841, allocations: 0 / 1.394 GB, free: 376 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007841/0.5849, allocations: 231.6 kB / 1.394 GB, free: 144 kB / 0.8855 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.0008607/0.5857, allocations: 317 kB / 1.394 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006646/0.5864, allocations: 331.6 kB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5864, allocations: 0 / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.5867, allocations: 183.7 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.5869, allocations: 24.17 kB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.588, allocations: 0.6331 MB / 1.395 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.5883, allocations: 0.7652 MB / 1.396 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.5885, allocations: 63.23 kB / 1.396 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.5887, allocations: 47.41 kB / 1.396 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of SimCode: time 3.51e-07/0.5887, allocations: 0 / 1.396 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.01/0.5987, allocations: 4.815 MB / 1.401 GB, free: 8.895 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches