Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.001208/0.001208, allocations: 181.2 kB / 316 MB, free: 3.566 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.73/1.73, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.001504/0.001504, allocations: 100.2 kB / 0.671 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.448e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2591, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.919/5.178, allocations: 2.192 GB / 3.076 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/5.178, allocations: 86.64 kB / 3.076 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1911/5.369, allocations: 92.76 MB / 3.167 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.169e-05/5.369, allocations: 32 kB / 3.167 GB, free: 100.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002225/5.371, allocations: 1.406 MB / 3.168 GB, free: 98.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/5.371, allocations: 8.031 kB / 3.168 GB, free: 98.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009808/5.372, allocations: 253.8 kB / 3.169 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/5.374, allocations: 0.7754 MB / 3.169 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/5.374, allocations: 48 kB / 3.169 GB, free: 97.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/5.374, allocations: 80 kB / 3.169 GB, free: 97.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001764/5.375, allocations: 1.344 MB / 3.171 GB, free: 96.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/5.377, allocations: 1.144 MB / 3.172 GB, free: 95.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/5.377, allocations: 0 / 3.172 GB, free: 95.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/5.377, allocations: 3.906 kB / 3.172 GB, free: 95.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/5.377, allocations: 36 kB / 3.172 GB, free: 95.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/5.382, allocations: 3.754 MB / 3.176 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/5.383, allocations: 0.8626 MB / 3.176 GB, free: 90.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/5.383, allocations: 347.8 kB / 3.177 GB, free: 90.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-05/5.384, allocations: 45.06 kB / 3.177 GB, free: 90.01 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006366/5.384, allocations: 0.5108 MB / 3.177 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 2.535e-06/5.384, allocations: 0 / 3.177 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.001785/5.386, allocations: 0.9052 MB / 3.178 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/5.386, allocations: 252.2 kB / 3.178 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/5.387, allocations: 0.6132 MB / 3.179 GB, free: 87.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/5.387, allocations: 29.7 kB / 3.179 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/5.387, allocations: 467.5 kB / 3.18 GB, free: 87.14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/5.387, allocations: 331 kB / 3.18 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/5.387, allocations: 0 / 3.18 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/5.387, allocations: 398.6 kB / 3.18 GB, free: 86.42 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/5.388, allocations: 297.9 kB / 3.18 GB, free: 86.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/5.388, allocations: 425.5 kB / 3.181 GB, free: 85.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/5.389, allocations: 370.8 kB / 3.181 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/5.389, allocations: 0 / 3.181 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001753/5.391, allocations: 0.9522 MB / 3.182 GB, free: 84.36 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/5.391, allocations: 11.92 kB / 3.182 GB, free: 84.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/5.391, allocations: 0 / 3.182 GB, free: 84.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/5.391, allocations: 84.84 kB / 3.182 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/5.392, allocations: 223.6 kB / 3.182 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/5.394, allocations: 1.457 MB / 3.184 GB, free: 82.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/5.394, allocations: 83.3 kB / 3.184 GB, free: 82.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.18e-05/5.395, allocations: 43.97 kB / 3.184 GB, free: 82.34 MB / 0.8698 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.000178/5.395, allocations: 124.5 kB / 3.184 GB, free: 82.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/5.395, allocations: 98.78 kB / 3.184 GB, free: 82.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/5.398, allocations: 1.307 MB / 3.186 GB, free: 80.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/5.398, allocations: 8 kB / 3.186 GB, free: 80.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/5.398, allocations: 4 kB / 3.186 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/5.398, allocations: 11.97 kB / 3.186 GB, free: 80.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/5.401, allocations: 2.347 MB / 3.188 GB, free: 78.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/5.401, allocations: 0 / 3.188 GB, free: 78.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/5.402, allocations: 199.7 kB / 3.188 GB, free: 78.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/5.402, allocations: 84.78 kB / 3.188 GB, free: 78.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/5.402, allocations: 23.97 kB / 3.188 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/5.404, allocations: 1.488 MB / 3.19 GB, free: 76.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/5.404, allocations: 4.062 kB / 3.19 GB, free: 76.45 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00167/5.405, allocations: 1.053 MB / 3.191 GB, free: 75.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/5.406, allocations: 351.3 kB / 3.191 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/5.406, allocations: 8 kB / 3.191 GB, free: 75.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/5.407, allocations: 55.94 kB / 3.191 GB, free: 74.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/5.407, allocations: 68.8 kB / 3.191 GB, free: 74.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.321e-05/5.407, allocations: 39.98 kB / 3.191 GB, free: 74.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005269/5.407, allocations: 0.5108 MB / 3.192 GB, free: 74.35 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001164/5.409, allocations: 410.5 kB / 3.192 GB, free: 73.95 MB / 0.8698 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.001481/5.41, allocations: 1.005 MB / 3.193 GB, free: 72.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001421/5.412, allocations: 0.9009 MB / 3.194 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/5.412, allocations: 0 / 3.194 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007918/5.412, allocations: 0.5561 MB / 3.194 GB, free: 71.51 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009974/5.413, allocations: 235.5 kB / 3.195 GB, free: 71.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/5.418, allocations: 1.822 MB / 3.196 GB, free: 69.42 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009251/5.419, allocations: 1.325 MB / 3.198 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/5.419, allocations: 0 / 3.198 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of Templates: time 0.02863/5.447, allocations: 19.89 MB / 3.217 GB, free: 48.23 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches