Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [: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.356/1.356, allocations: 249.4 MB / 256.7 MB, free: 15.76 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.0011/0.0011, allocations: 184 kB / 316 MB, free: 7.16 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.716/1.716, allocations: 205.1 MB / 0.5667 GB, free: 23.61 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.0009076/0.0009076, allocations: 82.58 kB / 0.671 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.326e-05/1.334e-05, allocations: 8 kB / 0.7807 GB, free: 308 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.676, allocations: 106.3 MB / 0.8846 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.8628, allocations: 132.4 MB / 1.014 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.8632, allocations: 75.95 kB / 1.014 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.009461/0.8727, allocations: 2.878 MB / 1.017 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.8727, allocations: 0 / 1.017 GB, free: 4.762 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006562/0.8734, allocations: 431.7 kB / 1.017 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.8735, allocations: 8.031 kB / 1.017 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.8736, allocations: 19.81 kB / 1.017 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.874, allocations: 232.4 kB / 1.017 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.8741, allocations: 0 / 1.017 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.8741, allocations: 4 kB / 1.017 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001961/0.8743, allocations: 75.95 kB / 1.017 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.8745, allocations: 119.3 kB / 1.018 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.8745, allocations: 4 kB / 1.018 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.8746, allocations: 3.906 kB / 1.018 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.8746, allocations: 0 / 1.018 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.8752, allocations: 382.2 kB / 1.018 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.8754, allocations: 105.1 kB / 1.018 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.8756, allocations: 89.78 kB / 1.018 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.8756, allocations: 7.938 kB / 1.018 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.8759, allocations: 162.8 kB / 1.018 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.8759, allocations: 0 / 1.018 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0004792/0.8764, allocations: 197.4 kB / 1.018 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.8765, allocations: 106.8 kB / 1.019 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.8767, allocations: 178.5 kB / 1.019 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.8767, allocations: 25.7 kB / 1.019 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.8768, allocations: 92.12 kB / 1.019 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.8768, allocations: 31.55 kB / 1.019 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.8768, allocations: 0 / 1.019 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.877, allocations: 326.8 kB / 1.019 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.8771, allocations: 63.97 kB / 1.019 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.8772, allocations: 85.67 kB / 1.019 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.8774, allocations: 67.95 kB / 1.019 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8774, allocations: 7.938 kB / 1.019 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003065/0.8777, allocations: 197.5 kB / 1.02 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8777, allocations: 7.938 kB / 1.02 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8777, allocations: 3.984 kB / 1.02 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.8778, allocations: 4 kB / 1.02 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.8779, allocations: 4 kB / 1.02 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8779, allocations: 7.938 kB / 1.02 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.878, allocations: 7.938 kB / 1.02 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.878, allocations: 12 kB / 1.02 GB, free: 1.492 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001413/0.8782, allocations: 140.8 kB / 1.02 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.8782, allocations: 15.81 kB / 1.02 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.8784, allocations: 63.08 kB / 1.02 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.8784, allocations: 8.031 kB / 1.02 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.8784, allocations: 4.062 kB / 1.02 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.8785, allocations: 4 kB / 1.02 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.8787, allocations: 198.2 kB / 1.02 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8787, allocations: 0 / 1.02 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.8787, allocations: 15.92 kB / 1.02 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8787, allocations: 0 / 1.02 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.8788, allocations: 8 kB / 1.02 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8788, allocations: 0 / 1.02 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8788, allocations: 0 / 1.02 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004067/0.8792, allocations: 259.3 kB / 1.02 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.8794, allocations: 121.6 kB / 1.02 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.8794, allocations: 4 kB / 1.02 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.8795, allocations: 7.984 kB / 1.02 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.8796, allocations: 8 kB / 1.02 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.8796, allocations: 8 kB / 1.02 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001274/0.8798, allocations: 149.1 kB / 1.021 GB, free: 408 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002515/0.88, allocations: 40 kB / 1.021 GB, free: 368 kB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002979/0.8803, allocations: 136.6 kB / 1.021 GB, free: 220 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.8806, allocations: 149.7 kB / 1.021 GB, free: 64 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8806, allocations: 0 / 1.021 GB, free: 64 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.8808, allocations: 121.7 kB / 1.021 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.881, allocations: 20.02 kB / 1.021 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.8816, allocations: 220.4 kB / 1.021 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.8821, allocations: 0.7309 MB / 1.022 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/0.8821, allocations: 0 / 1.022 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.004663/0.8868, allocations: 1.232 MB / 1.023 GB, free: 13.72 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches