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.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.984 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.001243/0.001243, allocations: 180.8 kB / 316.3 MB, free: 3.203 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.757/1.757, allocations: 205.3 MB / 0.5671 GB, free: 15.76 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.0008629/0.0008628, allocations: 74.61 kB / 0.6714 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.609e-05, allocations: 8 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 106.3 MB / 0.8852 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7941/1.048, allocations: 133 MB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/1.048, allocations: 64.59 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03241/1.081, allocations: 10.34 MB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.286e-06/1.081, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.081, allocations: 7.938 kB / 1.025 GB, free: 12.19 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.001362/1.082, allocations: 0.6157 MB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.082, allocations: 8.031 kB / 1.026 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/1.082, allocations: 23.31 kB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/1.082, allocations: 189.1 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/1.082, allocations: 7.984 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/1.082, allocations: 12 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002115/1.083, allocations: 88.14 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/1.083, allocations: 224 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.083, allocations: 7.938 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/1.083, allocations: 0 / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.083, allocations: 4 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/1.083, allocations: 359.9 kB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/1.085, allocations: 472.8 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/1.085, allocations: 144.4 kB / 1.027 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/1.085, allocations: 19.91 kB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/1.085, allocations: 300.6 kB / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/1.085, allocations: 0 / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.002439/1.088, allocations: 0.5243 MB / 1.028 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/1.088, allocations: 349.3 kB / 1.028 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/1.088, allocations: 146.8 kB / 1.029 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/1.088, allocations: 37.06 kB / 1.029 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/1.088, allocations: 100.1 kB / 1.029 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/1.088, allocations: 107.9 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/1.088, allocations: 0 / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.089, allocations: 331.4 kB / 1.029 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/1.089, allocations: 98.36 kB / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/1.089, allocations: 145 kB / 1.029 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/1.092, allocations: 0.5036 MB / 1.03 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.092, allocations: 0 / 1.03 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003397/1.096, allocations: 0.7228 MB / 1.031 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.096, allocations: 4 kB / 1.031 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.096, allocations: 0 / 1.031 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.096, allocations: 4 kB / 1.031 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/1.096, allocations: 70.89 kB / 1.031 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/1.096, allocations: 3.984 kB / 1.031 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/1.096, allocations: 47.67 kB / 1.031 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/1.096, allocations: 23.36 kB / 1.031 GB, free: 6.617 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.0002071/1.097, allocations: 123.3 kB / 1.031 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/1.097, allocations: 27.67 kB / 1.031 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/1.097, allocations: 334.3 kB / 1.031 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/1.097, allocations: 8 kB / 1.031 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.097, allocations: 4 kB / 1.031 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.097, allocations: 7.984 kB / 1.031 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/1.098, allocations: 296.1 kB / 1.031 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.098, allocations: 4 kB / 1.031 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/1.098, allocations: 71.09 kB / 1.032 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.098, allocations: 8 kB / 1.032 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/1.098, allocations: 19.5 kB / 1.032 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.098, allocations: 7.938 kB / 1.032 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.098, allocations: 4 kB / 1.032 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/1.101, allocations: 0.8178 MB / 1.032 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/1.101, allocations: 148.2 kB / 1.033 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/1.101, allocations: 11.98 kB / 1.033 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/1.101, allocations: 31.94 kB / 1.033 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.101, allocations: 45.38 kB / 1.033 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/1.101, allocations: 23.48 kB / 1.033 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.994e-05/1.101, allocations: 116.8 kB / 1.033 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/1.101, allocations: 11.88 kB / 1.033 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006694/1.102, allocations: 207.6 kB / 1.033 GB, free: 4.398 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.0005805/1.103, allocations: 326.1 kB / 1.033 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.105, allocations: 2.977 MB / 1.036 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.105, allocations: 0 / 1.036 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/1.105, allocations: 162.6 kB / 1.036 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/1.105, allocations: 21.75 kB / 1.036 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/1.106, allocations: 410.5 kB / 1.037 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/1.106, allocations: 0.7651 MB / 1.038 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002035/1.107, allocations: 51.62 kB / 1.038 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.107, allocations: 46.09 kB / 1.038 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/1.107, allocations: 0 / 1.038 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of Templates: time 0.009147/1.116, allocations: 4.834 MB / 1.042 GB, free: 10.91 MB / 0.6667 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