Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 249.3 MB / 261.9 MB, free: 5.918 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.001005/0.001005, allocations: 178.1 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.000834/0.0008341, allocations: 88.36 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.16e-05, allocations: 0 / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.566/6.793, allocations: 2.19 GB / 3.082 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/6.793, allocations: 91.95 kB / 3.082 GB, free: 179 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1225/6.916, allocations: 58.71 MB / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.834e-06/6.916, allocations: 0 / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.289e-05/6.916, allocations: 27.94 kB / 3.139 GB, free: 119.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001858/6.918, allocations: 1.02 MB / 3.14 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/6.918, allocations: 8.031 kB / 3.14 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/6.919, allocations: 194.5 kB / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/6.92, allocations: 0.6114 MB / 3.141 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/6.92, allocations: 54 kB / 3.141 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/6.92, allocations: 76 kB / 3.141 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/6.921, allocations: 0.8248 MB / 3.142 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/6.921, allocations: 0 / 3.142 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/6.921, allocations: 36 kB / 3.142 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/6.921, allocations: 23.95 kB / 3.142 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/6.922, allocations: 1.015 MB / 3.143 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/6.926, allocations: 2.383 MB / 3.145 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/6.927, allocations: 0.7672 MB / 3.146 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/6.927, allocations: 263.2 kB / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/6.927, allocations: 32.73 kB / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005836/6.928, allocations: 409.3 kB / 3.147 GB, free: 112 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.486e-06/6.928, allocations: 4 kB / 3.147 GB, free: 112 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001483/6.929, allocations: 0.6848 MB / 3.147 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/6.929, allocations: 244.1 kB / 3.147 GB, free: 111 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/6.93, allocations: 0.5697 MB / 3.148 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/6.93, allocations: 37.7 kB / 3.148 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/6.93, allocations: 364.4 kB / 3.148 GB, free: 110 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/6.93, allocations: 236.5 kB / 3.149 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/6.93, allocations: 16 kB / 3.149 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001155/6.931, allocations: 382.7 kB / 3.149 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/6.931, allocations: 193.5 kB / 3.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/6.931, allocations: 313 kB / 3.149 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/6.932, allocations: 242 kB / 3.15 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/6.932, allocations: 0 / 3.15 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001309/6.933, allocations: 0.6914 MB / 3.15 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/6.933, allocations: 4 kB / 3.15 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/6.933, allocations: 0 / 3.15 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/6.934, allocations: 84.83 kB / 3.15 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/6.934, allocations: 135.8 kB / 3.151 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/6.936, allocations: 1.529 MB / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/6.936, allocations: 83.44 kB / 3.152 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/6.937, allocations: 31.97 kB / 3.152 GB, free: 105.9 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 (75): * Single equations (assignments): 74 * 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.0001606/6.937, allocations: 144.8 kB / 3.152 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/6.937, allocations: 79.02 kB / 3.152 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/6.939, allocations: 0.973 MB / 3.153 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/6.939, allocations: 8 kB / 3.153 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/6.939, allocations: 0 / 3.153 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/6.939, allocations: 3.984 kB / 3.153 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/6.941, allocations: 1.859 MB / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/6.941, allocations: 0 / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/6.942, allocations: 159.8 kB / 3.155 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/6.942, allocations: 76.78 kB / 3.155 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/6.943, allocations: 27.98 kB / 3.155 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/6.944, allocations: 1.54 MB / 3.157 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/6.944, allocations: 7.969 kB / 3.157 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/6.945, allocations: 0.8728 MB / 3.158 GB, free: 99.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/6.946, allocations: 287.7 kB / 3.158 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/6.946, allocations: 16 kB / 3.158 GB, free: 99.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/6.946, allocations: 67.95 kB / 3.158 GB, free: 99.54 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/6.947, allocations: 56.69 kB / 3.158 GB, free: 99.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/6.947, allocations: 31.98 kB / 3.158 GB, free: 99.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005455/6.947, allocations: 475.1 kB / 3.159 GB, free: 99 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.947, allocations: 0 / 3.159 GB, free: 99 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001144/6.948, allocations: 335.2 kB / 3.159 GB, free: 98.67 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.001955/6.95, allocations: 0.9867 MB / 3.16 GB, free: 97.76 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001227/6.952, allocations: 0.6785 MB / 3.161 GB, free: 97.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/6.952, allocations: 4 kB / 3.161 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006336/6.952, allocations: 479 kB / 3.161 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/6.953, allocations: 235 kB / 3.161 GB, free: 96.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/6.956, allocations: 1.328 MB / 3.163 GB, free: 95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/6.957, allocations: 1.027 MB / 3.164 GB, free: 93.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007607/6.958, allocations: 253.9 kB / 3.164 GB, free: 93.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/6.958, allocations: 103.4 kB / 3.164 GB, free: 93.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/6.958, allocations: 0 / 3.164 GB, free: 93.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.03026/6.988, allocations: 21.57 MB / 3.185 GB, free: 72.09 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches