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.462/1.462, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001031/0.001032, allocations: 174.2 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001183/0.001183, allocations: 82.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.051e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2226, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6903/0.913, allocations: 132.7 MB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.9133, allocations: 74.12 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03246/0.9458, allocations: 10.38 MB / 1.032 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9458, allocations: 0 / 1.032 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9458, allocations: 4 kB / 1.032 GB, free: 9.277 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.001261/0.9471, allocations: 0.6234 MB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.9472, allocations: 8.031 kB / 1.032 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.9473, allocations: 19.81 kB / 1.032 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.9474, allocations: 189.1 kB / 1.032 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.9476, allocations: 124.7 kB / 1.033 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.9476, allocations: 29.36 kB / 1.033 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.948, allocations: 228.2 kB / 1.033 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.948, allocations: 7.938 kB / 1.033 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.948, allocations: 7.375 kB / 1.033 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.948, allocations: 4 kB / 1.033 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.9483, allocations: 109.8 kB / 1.033 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.9487, allocations: 396.8 kB / 1.033 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.9501, allocations: 493 kB / 1.034 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.9503, allocations: 149.5 kB / 1.034 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.9503, allocations: 19.91 kB / 1.034 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.9508, allocations: 308.6 kB / 1.034 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 6.643e-06/0.9508, allocations: 4 kB / 1.034 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.0006345/0.9515, allocations: 316.8 kB / 1.034 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/0.9517, allocations: 357.1 kB / 1.035 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.9518, allocations: 151.4 kB / 1.035 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.9519, allocations: 39.27 kB / 1.035 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.9519, allocations: 111.5 kB / 1.035 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.872e-05/0.952, allocations: 100 kB / 1.035 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.9521, allocations: 10.94 kB / 1.035 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9522, allocations: 333.5 kB / 1.036 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.9524, allocations: 104.2 kB / 1.036 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.9526, allocations: 158.1 kB / 1.036 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.9528, allocations: 113.4 kB / 1.036 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9528, allocations: 4 kB / 1.036 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005427/0.9534, allocations: 348.5 kB / 1.036 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9534, allocations: 8 kB / 1.036 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9534, allocations: 0 / 1.036 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9534, allocations: 4 kB / 1.036 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.9538, allocations: 79.69 kB / 1.036 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.9538, allocations: 4 kB / 1.036 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.9541, allocations: 59.34 kB / 1.036 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.9542, allocations: 23.73 kB / 1.036 GB, free: 4.375 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): 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.0001346/0.9543, allocations: 135.9 kB / 1.037 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.9544, allocations: 31.39 kB / 1.037 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/0.955, allocations: 357.9 kB / 1.037 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.9551, allocations: 12.03 kB / 1.037 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.9551, allocations: 4 kB / 1.037 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.9551, allocations: 7.984 kB / 1.037 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.9555, allocations: 349 kB / 1.037 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.9555, allocations: 4.438 kB / 1.037 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.9557, allocations: 75.2 kB / 1.037 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.9558, allocations: 8 kB / 1.037 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.9558, allocations: 18.44 kB / 1.037 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.9558, allocations: 4 kB / 1.037 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9558, allocations: 11.98 kB / 1.037 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.9565, allocations: 0.6016 MB / 1.038 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.9567, allocations: 150.9 kB / 1.038 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.9568, allocations: 18.67 kB / 1.038 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.957, allocations: 46.34 kB / 1.038 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.9572, allocations: 48.12 kB / 1.038 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.9572, allocations: 19.44 kB / 1.038 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.538e-05/0.9573, allocations: 130.2 kB / 1.038 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9573, allocations: 0 / 1.038 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007238/0.958, allocations: 228 kB / 1.039 GB, free: 2.27 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.0006119/0.9586, allocations: 323 kB / 1.039 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.9592, allocations: 317.1 kB / 1.039 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9592, allocations: 0 / 1.039 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.9595, allocations: 181 kB / 1.039 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.9597, allocations: 29.73 kB / 1.039 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.9604, allocations: 437 kB / 1.04 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.9608, allocations: 0.7689 MB / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.961, allocations: 65.64 kB / 1.041 GB, free: 304 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.9611, allocations: 51.09 kB / 1.041 GB, free: 260 kB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9611, allocations: 0 / 1.041 GB, free: 260 kB / 0.6511 GB Notification: Performance of Templates: time 0.008652/0.9698, allocations: 4.829 MB / 1.045 GB, free: 11.46 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