Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.792/1.792, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009498/0.0009496, allocations: 181.3 kB / 487 MB, free: 5.348 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.181/1.181, allocations: 221.3 MB / 0.7819 GB, free: 1.309 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.0008904/0.0008904, allocations: 82.38 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.542e-06, allocations: 3.938 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5441/0.749, allocations: 149.9 MB / 1.352 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.7493, allocations: 85.38 kB / 1.352 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00828/0.7576, allocations: 2.918 MB / 1.355 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.7576, allocations: 5.406 kB / 1.355 GB, free: 15.69 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000292/0.7579, allocations: 427.2 kB / 1.355 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.758, allocations: 8.594 kB / 1.355 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.758, allocations: 16.38 kB / 1.355 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.7583, allocations: 226.2 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.7583, allocations: 1.188 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.7583, allocations: 2.406 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001401/0.7585, allocations: 71.62 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.7586, allocations: 126 kB / 1.355 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7586, allocations: 1.125 kB / 1.355 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.7587, allocations: 0.7188 kB / 1.355 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.7587, allocations: 8.75 kB / 1.355 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.759, allocations: 380.8 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.7592, allocations: 112.9 kB / 1.356 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.7593, allocations: 89.16 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.7593, allocations: 0.75 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.7595, allocations: 171.5 kB / 1.356 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.7595, allocations: 0 / 1.356 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0003468/0.7598, allocations: 200.1 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.7599, allocations: 110.2 kB / 1.356 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.76, allocations: 182.1 kB / 1.357 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.76, allocations: 25.7 kB / 1.357 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.7601, allocations: 92.36 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.7601, allocations: 25.44 kB / 1.357 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.7601, allocations: 5.125 kB / 1.357 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.7602, allocations: 327 kB / 1.357 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.7603, allocations: 67.36 kB / 1.357 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.7604, allocations: 78.62 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.7605, allocations: 71.67 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7605, allocations: 0.7969 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002811/0.7608, allocations: 195.6 kB / 1.357 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.7608, allocations: 8.969 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7608, allocations: 1.75 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7608, allocations: 1.469 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.7609, allocations: 15.34 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.7609, allocations: 0.875 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.761, allocations: 3.828 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.761, allocations: 7.547 kB / 1.357 GB, free: 13.71 MB / 0.8073 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 6.817e-05/0.7611, allocations: 148 kB / 1.358 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.7611, allocations: 20.45 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.7613, allocations: 70.33 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7613, allocations: 2.203 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7613, allocations: 0 / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7613, allocations: 1.422 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.7614, allocations: 197.9 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7614, allocations: 0 / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.7615, allocations: 12.77 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7615, allocations: 0.875 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.7615, allocations: 9.078 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7615, allocations: 1.547 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7615, allocations: 4.812 kB / 1.358 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003158/0.7618, allocations: 252.4 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.762, allocations: 121.1 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.762, allocations: 8.016 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.7621, allocations: 7.625 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.7621, allocations: 4.75 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.7622, allocations: 12.75 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.284e-05/0.7623, allocations: 147.6 kB / 1.358 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002258/0.7625, allocations: 39.38 kB / 1.358 GB, free: 13.04 MB / 0.8073 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.000159/0.7627, allocations: 138.2 kB / 1.359 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.7629, allocations: 154.6 kB / 1.359 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.7629, allocations: 4.812 kB / 1.359 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.763, allocations: 115.9 kB / 1.359 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.7631, allocations: 14.25 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.7635, allocations: 217.6 kB / 1.359 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.7637, allocations: 0.7357 MB / 1.36 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.7637, allocations: 0 / 1.36 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of Templates: time 0.003249/0.767, allocations: 1.231 MB / 1.361 GB, free: 11.94 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches