Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001119/0.001119, allocations: 187.3 kB / 498.1 MB, free: 5.762 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.601/1.601, allocations: 223.2 MB / 0.7948 GB, free: 18.93 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.001012/0.001012, allocations: 96.03 kB / 0.9346 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.000479, allocations: 8.688 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3074, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.4981, allocations: 150 MB / 1.369 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4984, allocations: 71.95 kB / 1.369 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03425/0.5326, allocations: 10.57 MB / 1.38 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5327, allocations: 0 / 1.38 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5327, allocations: 4 kB / 1.38 GB, free: 8.73 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.001322/0.534, allocations: 0.6313 MB / 1.38 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5341, allocations: 11.97 kB / 1.38 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.5342, allocations: 19.81 kB / 1.38 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.5343, allocations: 198.2 kB / 1.381 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5345, allocations: 138.7 kB / 1.381 GB, free: 7.629 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.5345, allocations: 16 kB / 1.381 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.5349, allocations: 239.7 kB / 1.381 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.535, allocations: 3.984 kB / 1.381 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.535, allocations: 4 kB / 1.381 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.535, allocations: 7.984 kB / 1.381 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.5352, allocations: 119.7 kB / 1.381 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.5357, allocations: 399.1 kB / 1.381 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.5371, allocations: 495.5 kB / 1.382 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.5372, allocations: 8.062 kB / 1.382 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.5376, allocations: 312.9 kB / 1.382 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 2.404e-06/0.5377, allocations: 0 / 1.382 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.0008019/0.5385, allocations: 404.9 kB / 1.383 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.5387, allocations: 358.6 kB / 1.383 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.5388, allocations: 150.4 kB / 1.383 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.5388, allocations: 41.7 kB / 1.383 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.5389, allocations: 93.14 kB / 1.383 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.539, allocations: 110.4 kB / 1.383 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.5391, allocations: 12 kB / 1.383 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5392, allocations: 330.8 kB / 1.384 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.5395, allocations: 121 kB / 1.384 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.5398, allocations: 165 kB / 1.384 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.54, allocations: 119.5 kB / 1.384 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.54, allocations: 0 / 1.384 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006831/0.5407, allocations: 376.7 kB / 1.384 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5408, allocations: 7.938 kB / 1.384 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5408, allocations: 0 / 1.384 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5408, allocations: 4.75 kB / 1.384 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.5412, allocations: 79.88 kB / 1.385 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5412, allocations: 0 / 1.385 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.5415, allocations: 67.59 kB / 1.385 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.5416, allocations: 19.98 kB / 1.385 GB, free: 3.238 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.0001722/0.5417, allocations: 154.7 kB / 1.385 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.5418, allocations: 31.7 kB / 1.385 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006702/0.5425, allocations: 361.9 kB / 1.385 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5425, allocations: 8 kB / 1.385 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.5425, allocations: 4 kB / 1.385 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5425, allocations: 8.172 kB / 1.385 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.5429, allocations: 349.1 kB / 1.385 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.543, allocations: 7.984 kB / 1.386 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.5432, allocations: 71.91 kB / 1.386 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.5433, allocations: 4 kB / 1.386 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.5433, allocations: 19.98 kB / 1.386 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.5433, allocations: 7.938 kB / 1.386 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5433, allocations: 11.94 kB / 1.386 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.5441, allocations: 0.6138 MB / 1.386 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.5443, allocations: 152.6 kB / 1.386 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.5444, allocations: 15.98 kB / 1.386 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.5446, allocations: 39.97 kB / 1.386 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5447, allocations: 51.88 kB / 1.386 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.5448, allocations: 20.25 kB / 1.386 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.83e-05/0.5449, allocations: 135.2 kB / 1.387 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5449, allocations: 0 / 1.387 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007481/0.5456, allocations: 215.7 kB / 1.387 GB, free: 0.7812 MB / 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.000696/0.5463, allocations: 345.6 kB / 1.387 GB, free: 444 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006908/0.547, allocations: 323.6 kB / 1.387 GB, free: 120 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.547, allocations: 4 kB / 1.387 GB, free: 116 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.5474, allocations: 179.7 kB / 1.388 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.5476, allocations: 21.67 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.5488, allocations: 0.6399 MB / 1.388 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.5492, allocations: 0.773 MB / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.5495, allocations: 55.23 kB / 1.389 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.5496, allocations: 43.42 kB / 1.389 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of SimCode: time 2.1e-07/0.5496, allocations: 0 / 1.389 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of Templates: time 0.009047/0.5587, allocations: 4.817 MB / 1.394 GB, free: 9.512 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches