Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.76/1.76, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009138/0.0009137, allocations: 184.6 kB / 487 MB, free: 5.402 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.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008374/0.0008375, allocations: 103 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.43e-06/5.45e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5083/0.7112, allocations: 149.2 MB / 1.351 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.7114, allocations: 71.73 kB / 1.351 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03112/0.7425, allocations: 10.17 MB / 1.361 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7426, allocations: 4 kB / 1.361 GB, free: 14.82 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.001082/0.7437, allocations: 0.6246 MB / 1.362 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.7437, allocations: 8.031 kB / 1.362 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.7438, allocations: 23.39 kB / 1.362 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.7439, allocations: 189.6 kB / 1.362 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.7439, allocations: 5.359 kB / 1.362 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.744, allocations: 24.59 kB / 1.362 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001935/0.7442, allocations: 86.25 kB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.7444, allocations: 219.1 kB / 1.362 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7444, allocations: 4 kB / 1.362 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.7444, allocations: 4.703 kB / 1.362 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.7444, allocations: 7.938 kB / 1.362 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.7448, allocations: 356.8 kB / 1.362 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.746, allocations: 467.8 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.7461, allocations: 151.2 kB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.7462, allocations: 13.73 kB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.7464, allocations: 264.9 kB / 1.363 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.7464, allocations: 0 / 1.363 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40): time 0.0006584/0.7471, allocations: 296.4 kB / 1.364 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.7472, allocations: 353.4 kB / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.7473, allocations: 148.1 kB / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.7473, allocations: 37.25 kB / 1.364 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.7473, allocations: 96.86 kB / 1.364 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.7474, allocations: 103.4 kB / 1.364 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.7474, allocations: 0 / 1.364 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.7475, allocations: 337.1 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.7476, allocations: 100.1 kB / 1.365 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.7478, allocations: 137.3 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.7482, allocations: 167.7 kB / 1.365 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7482, allocations: 0 / 1.365 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006573/0.7489, allocations: 384.6 kB / 1.365 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.7489, allocations: 7.906 kB / 1.365 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7489, allocations: 0 / 1.365 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7489, allocations: 7.938 kB / 1.365 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.7492, allocations: 67.83 kB / 1.365 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7492, allocations: 4 kB / 1.365 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.7495, allocations: 59.66 kB / 1.365 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.7496, allocations: 18.92 kB / 1.366 GB, free: 10.45 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.736e-05/0.7496, allocations: 123.9 kB / 1.366 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.7497, allocations: 27.72 kB / 1.366 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.7503, allocations: 327.6 kB / 1.366 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.7503, allocations: 12 kB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.7503, allocations: 0 / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.7503, allocations: 7.984 kB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.7505, allocations: 299.8 kB / 1.366 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7506, allocations: 4 kB / 1.366 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.7508, allocations: 67.84 kB / 1.366 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.7508, allocations: 8 kB / 1.366 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.7509, allocations: 15.14 kB / 1.366 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.7509, allocations: 11.94 kB / 1.366 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7509, allocations: 4 kB / 1.366 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005916/0.7515, allocations: 0.5862 MB / 1.367 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.7516, allocations: 138.5 kB / 1.367 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.7517, allocations: 10.92 kB / 1.367 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.7519, allocations: 35.89 kB / 1.367 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.752, allocations: 44.55 kB / 1.367 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.752, allocations: 23.23 kB / 1.367 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.055e-05/0.7521, allocations: 123.5 kB / 1.367 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005446/0.7526, allocations: 206.7 kB / 1.367 GB, free: 8.465 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.0004544/0.7531, allocations: 317.6 kB / 1.368 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.7542, allocations: 2.993 MB / 1.371 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7542, allocations: 0 / 1.371 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.7544, allocations: 170 kB / 1.371 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.7546, allocations: 23.83 kB / 1.371 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.7552, allocations: 419 kB / 1.371 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.7556, allocations: 0.8061 MB / 1.372 GB, free: 19.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.7556, allocations: 0 / 1.372 GB, free: 19.8 MB / 0.823 GB Notification: Performance of Templates: time 0.008276/0.7639, allocations: 5.196 MB / 1.377 GB, free: 14.66 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches