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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 184.3 kB / 316 MB, free: 7.223 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.776/1.776, allocations: 205.1 MB / 0.5667 GB, free: 23.85 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.001088/0.001088, allocations: 90.33 kB / 0.671 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.364e-06, allocations: 0 / 0.7807 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5674, allocations: 106.3 MB / 0.8846 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.7318, allocations: 131.9 MB / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.732, allocations: 71.95 kB / 1.013 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0332/0.7652, allocations: 10.01 MB / 1.023 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.7652, allocations: 4 kB / 1.023 GB, free: 14.09 MB / 0.6823 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.001307/0.7666, allocations: 0.6217 MB / 1.024 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.7666, allocations: 12.03 kB / 1.024 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.7667, allocations: 23.72 kB / 1.024 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.7669, allocations: 185.6 kB / 1.024 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.7669, allocations: 4 kB / 1.024 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.7669, allocations: 12 kB / 1.024 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002375/0.7672, allocations: 87.94 kB / 1.024 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.7675, allocations: 220.3 kB / 1.024 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7675, allocations: 0 / 1.024 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.7675, allocations: 11.98 kB / 1.024 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.7676, allocations: 7.906 kB / 1.024 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.768, allocations: 360.1 kB / 1.025 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.7694, allocations: 467.7 kB / 1.025 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.7696, allocations: 154.4 kB / 1.025 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.7697, allocations: 12 kB / 1.025 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.77, allocations: 279.1 kB / 1.026 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 1.834e-06/0.77, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.0007577/0.7708, allocations: 297.2 kB / 1.026 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.7709, allocations: 358 kB / 1.026 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.7711, allocations: 143.5 kB / 1.026 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.7711, allocations: 33.83 kB / 1.026 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.7712, allocations: 89.14 kB / 1.026 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.7713, allocations: 110.5 kB / 1.027 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.7713, allocations: 7.938 kB / 1.027 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7715, allocations: 326.8 kB / 1.027 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.7717, allocations: 96.98 kB / 1.027 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.7719, allocations: 147.4 kB / 1.027 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.7723, allocations: 160 kB / 1.027 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7724, allocations: 0 / 1.027 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007967/0.7732, allocations: 383.3 kB / 1.028 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7732, allocations: 8 kB / 1.028 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.7732, allocations: 0 / 1.028 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7732, allocations: 4 kB / 1.028 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.7736, allocations: 63.89 kB / 1.028 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7736, allocations: 4 kB / 1.028 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.7739, allocations: 55.59 kB / 1.028 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.774, allocations: 27.89 kB / 1.028 GB, free: 8.883 MB / 0.6823 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.0001256/0.7741, allocations: 124.9 kB / 1.028 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.7742, allocations: 31.7 kB / 1.028 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006732/0.7748, allocations: 322.5 kB / 1.028 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.7749, allocations: 11.98 kB / 1.028 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7749, allocations: 4 kB / 1.028 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.7749, allocations: 4 kB / 1.028 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.7753, allocations: 297.7 kB / 1.029 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7753, allocations: 4 kB / 1.029 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.7756, allocations: 75.89 kB / 1.029 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.7756, allocations: 4 kB / 1.029 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.7757, allocations: 8 kB / 1.029 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.7757, allocations: 12.23 kB / 1.029 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.7757, allocations: 8 kB / 1.029 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008031/0.7765, allocations: 0.5877 MB / 1.029 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.7767, allocations: 148.6 kB / 1.029 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.7767, allocations: 4 kB / 1.029 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.777, allocations: 31.97 kB / 1.029 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.7771, allocations: 47.84 kB / 1.029 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.7771, allocations: 20 kB / 1.029 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.762e-05/0.7772, allocations: 127.2 kB / 1.03 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006417/0.7779, allocations: 211.7 kB / 1.03 GB, free: 6.637 MB / 0.6823 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.0005695/0.7785, allocations: 320.6 kB / 1.03 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.7804, allocations: 2.985 MB / 1.033 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7804, allocations: 0 / 1.033 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.7806, allocations: 171.7 kB / 1.033 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.7809, allocations: 20.28 kB / 1.033 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.7817, allocations: 410.8 kB / 1.034 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.7822, allocations: 0.811 MB / 1.034 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/0.7822, allocations: 0 / 1.034 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.2616/1.044, allocations: 5.195 MB / 1.039 GB, free: 207.6 MB / 0.6823 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