Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [: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.822/1.822, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001139/0.001139, allocations: 180.5 kB / 487 MB, free: 5.387 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.173/1.173, allocations: 221.3 MB / 0.7819 GB, free: 1.461 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.0008531/0.0008529, allocations: 104.5 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.11e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 142.3 MB / 1.205 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.515/2.709, allocations: 1.732 GB / 2.937 GB, free: 126.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/2.71, allocations: 83.73 kB / 2.937 GB, free: 126.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1797/2.889, allocations: 94.77 MB / 3.029 GB, free: 31.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.371e-05/2.889, allocations: 35.94 kB / 3.029 GB, free: 31.73 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.001985/2.891, allocations: 1.434 MB / 3.031 GB, free: 30.24 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/2.892, allocations: 13.03 kB / 3.031 GB, free: 30.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008421/2.892, allocations: 253.8 kB / 3.031 GB, free: 29.98 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008957/2.893, allocations: 0.7754 MB / 3.032 GB, free: 29.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/2.893, allocations: 47.91 kB / 3.032 GB, free: 29.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/2.893, allocations: 87.98 kB / 3.032 GB, free: 29.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/2.895, allocations: 1.38 MB / 3.033 GB, free: 27.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/2.897, allocations: 1.181 MB / 3.034 GB, free: 26.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/2.897, allocations: 4 kB / 3.034 GB, free: 26.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/2.897, allocations: 0 / 3.034 GB, free: 26.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/2.897, allocations: 36 kB / 3.034 GB, free: 26.37 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/2.901, allocations: 3.967 MB / 3.038 GB, free: 22.25 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/2.902, allocations: 0.8472 MB / 3.039 GB, free: 21.39 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/2.903, allocations: 359.6 kB / 3.04 GB, free: 21.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/2.903, allocations: 45.08 kB / 3.04 GB, free: 21 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005628/2.903, allocations: 0.5105 MB / 3.04 GB, free: 20.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 2.154e-06/2.903, allocations: 4 kB / 3.04 GB, free: 20.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.001632/2.905, allocations: 0.8897 MB / 3.041 GB, free: 19.56 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/2.905, allocations: 248.3 kB / 3.041 GB, free: 19.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/2.905, allocations: 0.5896 MB / 3.042 GB, free: 18.67 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/2.906, allocations: 33.69 kB / 3.042 GB, free: 18.63 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/2.906, allocations: 483.4 kB / 3.042 GB, free: 18.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/2.906, allocations: 335 kB / 3.043 GB, free: 17.82 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/2.906, allocations: 0 / 3.043 GB, free: 17.82 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/2.906, allocations: 390.7 kB / 3.043 GB, free: 17.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/2.906, allocations: 298 kB / 3.043 GB, free: 17.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/2.907, allocations: 425.5 kB / 3.044 GB, free: 16.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/2.907, allocations: 370.8 kB / 3.044 GB, free: 16.33 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.907, allocations: 3.938 kB / 3.044 GB, free: 16.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001618/2.909, allocations: 0.9561 MB / 3.045 GB, free: 15.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/2.909, allocations: 4 kB / 3.045 GB, free: 15.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/2.909, allocations: 0 / 3.045 GB, free: 15.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/2.91, allocations: 92.72 kB / 3.045 GB, free: 15.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/2.91, allocations: 215.7 kB / 3.045 GB, free: 15.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/2.912, allocations: 1.465 MB / 3.047 GB, free: 13.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/2.912, allocations: 79.36 kB / 3.047 GB, free: 13.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/2.913, allocations: 47.95 kB / 3.047 GB, free: 13.33 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001455/2.913, allocations: 120.7 kB / 3.047 GB, free: 13.21 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/2.913, allocations: 90.88 kB / 3.047 GB, free: 13.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/2.915, allocations: 1.311 MB / 3.048 GB, free: 11.79 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/2.915, allocations: 12 kB / 3.048 GB, free: 11.78 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/2.915, allocations: 4 kB / 3.048 GB, free: 11.78 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/2.915, allocations: 7.984 kB / 3.048 GB, free: 11.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/2.918, allocations: 2.348 MB / 3.051 GB, free: 9.375 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/2.918, allocations: 0 / 3.051 GB, free: 9.375 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/2.919, allocations: 195.8 kB / 3.051 GB, free: 9.184 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/2.919, allocations: 84.72 kB / 3.051 GB, free: 9.098 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/2.92, allocations: 15.98 kB / 3.051 GB, free: 9.082 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/2.921, allocations: 1.492 MB / 3.052 GB, free: 7.473 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.921, allocations: 0 / 3.052 GB, free: 7.473 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001504/2.922, allocations: 1.056 MB / 3.053 GB, free: 6.395 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/2.923, allocations: 347.4 kB / 3.054 GB, free: 6.035 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/2.923, allocations: 3.906 kB / 3.054 GB, free: 6.031 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/2.924, allocations: 55.95 kB / 3.054 GB, free: 5.977 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/2.924, allocations: 68.89 kB / 3.054 GB, free: 5.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/2.924, allocations: 39.97 kB / 3.054 GB, free: 5.871 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004248/2.924, allocations: 0.4991 MB / 3.054 GB, free: 5.375 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009337/2.925, allocations: 442.3 kB / 3.055 GB, free: 4.941 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/2.926, allocations: 1.06 MB / 3.056 GB, free: 3.984 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001185/2.928, allocations: 0.9048 MB / 3.057 GB, free: 3.066 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/2.928, allocations: 4 kB / 3.057 GB, free: 3.062 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006625/2.928, allocations: 0.5522 MB / 3.057 GB, free: 2.504 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/2.929, allocations: 221.2 kB / 3.057 GB, free: 2.293 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/2.933, allocations: 1.84 MB / 3.059 GB, free: 424 kB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2672/3.2, allocations: 1.332 MB / 3.061 GB, free: 0.511 GB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/3.2, allocations: 0 / 3.061 GB, free: 0.511 GB / 1.151 GB Notification: Performance of Templates: time 0.02529/3.225, allocations: 20.19 MB / 3.08 GB, free: 0.51 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches