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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.771/1.771, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009335/0.0009335, allocations: 192.4 kB / 487 MB, free: 5.375 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.000908, allocations: 98.3 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.471e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1847, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.6612, allocations: 149.2 MB / 1.351 GB, free: 16.06 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001644/0.6614, allocations: 68.66 kB / 1.351 GB, free: 16.06 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03086/0.6922, allocations: 10.16 MB / 1.361 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.6923, allocations: 4 kB / 1.361 GB, free: 14.85 MB / 0.8073 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.001047/0.6933, allocations: 0.6228 MB / 1.362 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.6934, allocations: 12.55 kB / 1.362 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.6934, allocations: 20.61 kB / 1.362 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.6935, allocations: 189.4 kB / 1.362 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.6936, allocations: 8.516 kB / 1.362 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.6936, allocations: 21.2 kB / 1.362 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001881/0.6938, allocations: 89.05 kB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.694, allocations: 228.4 kB / 1.362 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6941, allocations: 4.547 kB / 1.362 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.6941, allocations: 0.6094 kB / 1.362 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.6941, allocations: 8 kB / 1.362 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.6944, allocations: 349.2 kB / 1.362 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.6956, allocations: 478.7 kB / 1.363 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.6957, allocations: 147 kB / 1.363 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.6958, allocations: 9.734 kB / 1.363 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.696, allocations: 267.4 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/0.696, allocations: 0 / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40): time 0.0006521/0.6967, allocations: 295 kB / 1.364 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.6968, allocations: 356.5 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.6969, allocations: 149.3 kB / 1.364 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.6969, allocations: 29.7 kB / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.6969, allocations: 92.78 kB / 1.364 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.697, allocations: 103.5 kB / 1.364 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.697, allocations: 0 / 1.364 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.6971, allocations: 345.2 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.6972, allocations: 95.98 kB / 1.365 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.6974, allocations: 140.4 kB / 1.365 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.6978, allocations: 164.7 kB / 1.365 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6978, allocations: 4 kB / 1.365 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006428/0.6984, allocations: 376.1 kB / 1.365 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.6985, allocations: 11.89 kB / 1.365 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6985, allocations: 8 kB / 1.365 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6985, allocations: 0 / 1.365 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.6988, allocations: 71.2 kB / 1.365 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6988, allocations: 4.25 kB / 1.365 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.6991, allocations: 51.66 kB / 1.365 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.6991, allocations: 23.67 kB / 1.366 GB, free: 10.49 MB / 0.8073 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 8.185e-05/0.6992, allocations: 127.6 kB / 1.366 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.6992, allocations: 23.72 kB / 1.366 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/0.6998, allocations: 332.5 kB / 1.366 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6998, allocations: 8 kB / 1.366 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6998, allocations: 4 kB / 1.366 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6998, allocations: 7.984 kB / 1.366 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.7001, allocations: 297.7 kB / 1.366 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7001, allocations: 4 kB / 1.366 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.7003, allocations: 70.34 kB / 1.366 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.7004, allocations: 4 kB / 1.366 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.7004, allocations: 19.08 kB / 1.366 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.7004, allocations: 7.938 kB / 1.366 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7004, allocations: 7.938 kB / 1.366 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005882/0.701, allocations: 0.5844 MB / 1.367 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.7011, allocations: 141.1 kB / 1.367 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.7012, allocations: 11.44 kB / 1.367 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.7014, allocations: 35.88 kB / 1.367 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.7015, allocations: 45.06 kB / 1.367 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.7015, allocations: 22.86 kB / 1.367 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.96e-05/0.7016, allocations: 117.4 kB / 1.367 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005534/0.7021, allocations: 206.6 kB / 1.367 GB, free: 8.504 MB / 0.8073 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.0004419/0.7026, allocations: 330 kB / 1.368 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.7037, allocations: 2.986 MB / 1.371 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7037, allocations: 0 / 1.371 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.7039, allocations: 168.9 kB / 1.371 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.704, allocations: 17.98 kB / 1.371 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.7047, allocations: 415.6 kB / 1.371 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.705, allocations: 0.8175 MB / 1.372 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of SimCode: time 3.01e-07/0.705, allocations: 0 / 1.372 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of Templates: time 0.007463/0.7125, allocations: 5.186 MB / 1.377 GB, free: 14.7 MB / 0.823 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