Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.5 MB / 257 MB, free: 6.996 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.001271/0.001271, allocations: 183.5 kB / 316.3 MB, free: 3.223 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.762/1.762, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.001046/0.001046, allocations: 88.59 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.914e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2888, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.496/6.785, allocations: 2.191 GB / 3.076 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/6.785, allocations: 99.23 kB / 3.076 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1228/6.908, allocations: 57.4 MB / 3.132 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.543e-06/6.908, allocations: 0 / 3.132 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.957e-05/6.908, allocations: 24 kB / 3.133 GB, free: 123.9 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001952/6.91, allocations: 1.053 MB / 3.134 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/6.91, allocations: 8.031 kB / 3.134 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/6.911, allocations: 190.5 kB / 3.134 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/6.912, allocations: 0.6075 MB / 3.134 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/6.912, allocations: 31.98 kB / 3.134 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/6.912, allocations: 44 kB / 3.134 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/6.913, allocations: 0.9952 MB / 3.135 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/6.914, allocations: 0.7271 MB / 3.136 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/6.914, allocations: 0 / 3.136 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/6.914, allocations: 11.94 kB / 3.136 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/6.914, allocations: 20 kB / 3.136 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/6.917, allocations: 2.263 MB / 3.138 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/6.918, allocations: 0.6618 MB / 3.139 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/6.918, allocations: 255.1 kB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.257e-05/6.918, allocations: 28.73 kB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005388/6.919, allocations: 407.7 kB / 3.14 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 1.843e-06/6.919, allocations: 0 / 3.14 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001401/6.92, allocations: 0.673 MB / 3.14 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/6.92, allocations: 244.1 kB / 3.141 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/6.921, allocations: 0.4906 MB / 3.141 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/6.921, allocations: 25.7 kB / 3.141 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/6.921, allocations: 388.1 kB / 3.141 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/6.921, allocations: 236.4 kB / 3.142 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/6.921, allocations: 0 / 3.142 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001187/6.922, allocations: 378.7 kB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/6.922, allocations: 201.5 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/6.922, allocations: 299.5 kB / 3.142 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/6.922, allocations: 248.5 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/6.922, allocations: 0 / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001279/6.924, allocations: 0.6758 MB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/6.924, allocations: 13.94 kB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/6.924, allocations: 0 / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/6.924, allocations: 84.75 kB / 3.143 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/6.925, allocations: 151.8 kB / 3.144 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/6.926, allocations: 1.449 MB / 3.145 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/6.927, allocations: 63.55 kB / 3.145 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/6.927, allocations: 27.98 kB / 3.145 GB, free: 110.5 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 (80): * Single equations (assignments): 79 * 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.0001752/6.927, allocations: 116.9 kB / 3.145 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/6.927, allocations: 79.02 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/6.929, allocations: 0.9386 MB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/6.929, allocations: 12 kB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/6.929, allocations: 3.984 kB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/6.929, allocations: 7.984 kB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/6.932, allocations: 1.706 MB / 3.148 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/6.932, allocations: 4 kB / 3.148 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/6.932, allocations: 155.8 kB / 3.148 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/6.933, allocations: 80.78 kB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/6.933, allocations: 15.98 kB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/6.934, allocations: 1.481 MB / 3.15 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/6.934, allocations: 4.062 kB / 3.15 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/6.935, allocations: 0.8299 MB / 3.15 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/6.936, allocations: 287.7 kB / 3.151 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/6.936, allocations: 3.984 kB / 3.151 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/6.936, allocations: 47.95 kB / 3.151 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/6.936, allocations: 64.69 kB / 3.151 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/6.936, allocations: 31.98 kB / 3.151 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004404/6.937, allocations: 414.9 kB / 3.151 GB, free: 104 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.6e-07/6.937, allocations: 4 kB / 3.151 GB, free: 104 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009996/6.938, allocations: 303.1 kB / 3.151 GB, free: 103.7 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 (87): * Single equations (assignments): 84 * 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.001842/6.94, allocations: 1.037 MB / 3.153 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001096/6.941, allocations: 0.663 MB / 3.153 GB, free: 102 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/6.941, allocations: 4 kB / 3.153 GB, free: 102 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/6.941, allocations: 452.5 kB / 3.154 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/6.942, allocations: 223 kB / 3.154 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/6.946, allocations: 1.301 MB / 3.155 GB, free: 100 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/6.946, allocations: 1.023 MB / 3.156 GB, free: 98.99 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000749/6.947, allocations: 257.9 kB / 3.156 GB, free: 98.74 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/6.947, allocations: 95.38 kB / 3.156 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of SimCode: time 8.21e-07/6.947, allocations: 0 / 3.156 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of Templates: time 0.02423/6.971, allocations: 15.42 MB / 3.171 GB, free: 83.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches