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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 184.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009728/0.0009732, allocations: 102.4 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.047e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8128/1.066, allocations: 132.9 MB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.066, allocations: 77.53 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03316/1.099, allocations: 10.33 MB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.26e-06/1.099, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.099, allocations: 11.88 kB / 1.025 GB, free: 12.23 MB / 0.6511 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.001366/1.101, allocations: 0.6142 MB / 1.026 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.101, allocations: 8.031 kB / 1.026 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/1.101, allocations: 19.81 kB / 1.026 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/1.101, allocations: 189.1 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.101, allocations: 4 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/1.101, allocations: 23.8 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000215/1.101, allocations: 84.2 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/1.102, allocations: 223.8 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.102, allocations: 0 / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/1.102, allocations: 3.25 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.102, allocations: 8 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/1.102, allocations: 360.9 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/1.103, allocations: 472.2 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/1.104, allocations: 151.6 kB / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/1.104, allocations: 4 kB / 1.027 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/1.104, allocations: 299.5 kB / 1.028 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/1.104, allocations: 0 / 1.028 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.002585/1.107, allocations: 0.5302 MB / 1.028 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/1.107, allocations: 350.2 kB / 1.028 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/1.107, allocations: 145.4 kB / 1.029 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/1.107, allocations: 33.2 kB / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/1.107, allocations: 103.6 kB / 1.029 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/1.107, allocations: 107.4 kB / 1.029 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/1.107, allocations: 0 / 1.029 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.108, allocations: 334.3 kB / 1.029 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.108, allocations: 103.4 kB / 1.029 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/1.108, allocations: 138.4 kB / 1.029 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/1.111, allocations: 0.5014 MB / 1.03 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.111, allocations: 0 / 1.03 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003452/1.115, allocations: 0.7239 MB / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.115, allocations: 4 kB / 1.031 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.115, allocations: 4 kB / 1.031 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/1.115, allocations: 4 kB / 1.031 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.115, allocations: 71.2 kB / 1.031 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.115, allocations: 4 kB / 1.031 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/1.115, allocations: 47.66 kB / 1.031 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/1.115, allocations: 23.17 kB / 1.031 GB, free: 6.664 MB / 0.6511 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.000199/1.116, allocations: 123.4 kB / 1.031 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/1.116, allocations: 35.66 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/1.116, allocations: 317 kB / 1.031 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.116, allocations: 8 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.116, allocations: 4.5 kB / 1.031 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.116, allocations: 4 kB / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/1.117, allocations: 301 kB / 1.031 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.117, allocations: 8 kB / 1.031 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/1.117, allocations: 79.2 kB / 1.032 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.117, allocations: 4 kB / 1.032 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/1.117, allocations: 18.69 kB / 1.032 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.117, allocations: 4 kB / 1.032 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.117, allocations: 7.938 kB / 1.032 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/1.12, allocations: 0.8144 MB / 1.032 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/1.12, allocations: 157.7 kB / 1.033 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/1.12, allocations: 7.938 kB / 1.033 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/1.12, allocations: 31.92 kB / 1.033 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.12, allocations: 54 kB / 1.033 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/1.12, allocations: 22.67 kB / 1.033 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001143/1.121, allocations: 112.8 kB / 1.033 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.121, allocations: 7.938 kB / 1.033 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007605/1.121, allocations: 207 kB / 1.033 GB, free: 4.445 MB / 0.6511 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.000584/1.122, allocations: 311.2 kB / 1.033 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001988/1.124, allocations: 2.987 MB / 1.036 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.124, allocations: 4.219 kB / 1.036 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/1.124, allocations: 166.2 kB / 1.036 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/1.124, allocations: 15.3 kB / 1.036 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/1.125, allocations: 408 kB / 1.037 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/1.126, allocations: 0.7651 MB / 1.037 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002102/1.126, allocations: 51.61 kB / 1.038 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/1.126, allocations: 42.36 kB / 1.038 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/1.126, allocations: 0 / 1.038 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of Templates: time 0.009262/1.135, allocations: 4.841 MB / 1.042 GB, free: 10.96 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches