Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") [: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.378/1.378, allocations: 249.4 MB / 256.7 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 177.2 kB / 316 MB, free: 3.562 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.733/1.733, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.001056/0.001056, allocations: 85.88 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.087e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2596, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7402/0.9999, allocations: 139.5 MB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/1, allocations: 82.5 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.06615/1.066, allocations: 20.6 MB / 1.041 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.179e-05/1.067, allocations: 12 kB / 1.041 GB, free: 14.44 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002578/1.069, allocations: 0.9273 MB / 1.042 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.069, allocations: 12.03 kB / 1.042 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/1.069, allocations: 79.06 kB / 1.042 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/1.083, allocations: 5.97 MB / 1.048 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008586/1.084, allocations: 407 kB / 1.048 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/1.084, allocations: 32 kB / 1.048 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001066/1.085, allocations: 458.5 kB / 1.049 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/1.086, allocations: 0.5449 MB / 1.049 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/1.086, allocations: 0 / 1.049 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/1.086, allocations: 0 / 1.049 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.086, allocations: 16 kB / 1.049 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/1.091, allocations: 1.856 MB / 1.051 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003493/1.094, allocations: 0.846 MB / 1.052 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/1.095, allocations: 281.8 kB / 1.052 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.211e-05/1.095, allocations: 19.72 kB / 1.052 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.095, allocations: 54.22 kB / 1.052 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 4.318e-06/1.095, allocations: 0 / 1.052 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.001277/1.096, allocations: 0.5312 MB / 1.053 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.096, allocations: 136.5 kB / 1.053 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/1.097, allocations: 287 kB / 1.053 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/1.097, allocations: 25.7 kB / 1.053 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/1.097, allocations: 204.4 kB / 1.053 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/1.097, allocations: 228.9 kB / 1.054 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/1.097, allocations: 4 kB / 1.054 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002423/1.098, allocations: 353.8 kB / 1.054 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/1.098, allocations: 177.4 kB / 1.054 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/1.098, allocations: 231.3 kB / 1.054 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/1.099, allocations: 186.4 kB / 1.054 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.099, allocations: 0 / 1.054 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001007/1.1, allocations: 0.532 MB / 1.055 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.1, allocations: 12 kB / 1.055 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.1, allocations: 0 / 1.055 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.1, allocations: 4 kB / 1.055 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.101, allocations: 190.4 kB / 1.055 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.101, allocations: 4 kB / 1.055 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/1.102, allocations: 87.53 kB / 1.055 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/1.102, allocations: 31.89 kB / 1.055 GB, free: 2.621 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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.0001556/1.102, allocations: 112.9 kB / 1.055 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/1.103, allocations: 51.34 kB / 1.055 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/1.104, allocations: 0.9338 MB / 1.056 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/1.105, allocations: 12 kB / 1.056 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.105, allocations: 3.906 kB / 1.056 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.105, allocations: 7.969 kB / 1.056 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/1.106, allocations: 0.6853 MB / 1.057 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.106, allocations: 0 / 1.057 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.107, allocations: 238.5 kB / 1.057 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/1.107, allocations: 11.98 kB / 1.057 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/1.107, allocations: 15.48 kB / 1.057 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/1.107, allocations: 11.91 kB / 1.057 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.107, allocations: 0 / 1.057 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001277/1.108, allocations: 1.057 MB / 1.058 GB, free: 0 / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/1.109, allocations: 242.7 kB / 1.059 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.109, allocations: 0 / 1.059 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/1.11, allocations: 55.94 kB / 1.059 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.11, allocations: 84.48 kB / 1.059 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.254e-05/1.11, allocations: 33.61 kB / 1.059 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000393/1.11, allocations: 261.4 kB / 1.059 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001166/1.112, allocations: 262 kB / 1.059 GB, free: 15.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * 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.001102/1.113, allocations: 413.4 kB / 1.06 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.114, allocations: 0.541 MB / 1.06 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.114, allocations: 0 / 1.06 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/1.114, allocations: 402.4 kB / 1.061 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/1.115, allocations: 24.73 kB / 1.061 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/1.117, allocations: 0.908 MB / 1.061 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009473/1.118, allocations: 1.053 MB / 1.062 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.118, allocations: 0 / 1.062 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.0175/1.135, allocations: 9.036 MB / 1.071 GB, free: 3.305 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches