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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 249.3 MB / 261.8 MB, free: 5.938 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.001097/0.001097, allocations: 182.5 kB / 321.3 MB, free: 14.64 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.816/1.816, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008635/0.0008636, allocations: 86.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.804e-05/4.807e-05, allocations: 3.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2809, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.27/6.551, allocations: 2.191 GB / 3.083 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/6.551, allocations: 84.08 kB / 3.083 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1896/6.741, allocations: 93.22 MB / 3.174 GB, free: 48.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.573e-06/6.741, allocations: 0 / 3.174 GB, free: 48.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.255e-05/6.741, allocations: 32 kB / 3.174 GB, free: 48.56 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.001949/6.743, allocations: 1.371 MB / 3.176 GB, free: 47.14 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/6.743, allocations: 12.03 kB / 3.176 GB, free: 47.13 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008569/6.744, allocations: 241.9 kB / 3.176 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/6.745, allocations: 0.7754 MB / 3.177 GB, free: 46.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/6.745, allocations: 106.8 kB / 3.177 GB, free: 45.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/6.745, allocations: 132 kB / 3.177 GB, free: 45.84 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/6.747, allocations: 1.325 MB / 3.178 GB, free: 44.45 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/6.747, allocations: 0 / 3.178 GB, free: 44.45 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/6.747, allocations: 59.98 kB / 3.178 GB, free: 44.39 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/6.747, allocations: 39.95 kB / 3.178 GB, free: 44.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/6.749, allocations: 1.412 MB / 3.18 GB, free: 42.94 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/6.754, allocations: 3.615 MB / 3.183 GB, free: 39.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/6.755, allocations: 0.918 MB / 3.184 GB, free: 38.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/6.755, allocations: 371.8 kB / 3.184 GB, free: 37.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/6.755, allocations: 48.91 kB / 3.184 GB, free: 37.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/6.756, allocations: 0.5554 MB / 3.185 GB, free: 37.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 2.304e-06/6.756, allocations: 0 / 3.185 GB, free: 37.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.001878/6.758, allocations: 0.959 MB / 3.186 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/6.758, allocations: 244.3 kB / 3.186 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/6.759, allocations: 0.7153 MB / 3.187 GB, free: 35.35 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/6.759, allocations: 49.7 kB / 3.187 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/6.759, allocations: 0.5505 MB / 3.187 GB, free: 34.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/6.76, allocations: 342.9 kB / 3.188 GB, free: 34.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/6.76, allocations: 23.94 kB / 3.188 GB, free: 34.37 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/6.76, allocations: 341.9 kB / 3.188 GB, free: 34.03 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/6.76, allocations: 317.9 kB / 3.188 GB, free: 33.72 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/6.761, allocations: 439.5 kB / 3.189 GB, free: 33.26 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/6.761, allocations: 388.8 kB / 3.189 GB, free: 32.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/6.761, allocations: 0 / 3.189 GB, free: 32.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001911/6.763, allocations: 1.016 MB / 3.19 GB, free: 31.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/6.763, allocations: 4 kB / 3.19 GB, free: 31.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/6.763, allocations: 0 / 3.19 GB, free: 31.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/6.764, allocations: 92.78 kB / 3.19 GB, free: 31.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/6.765, allocations: 211.7 kB / 3.19 GB, free: 31.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/6.766, allocations: 1.529 MB / 3.192 GB, free: 29.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/6.767, allocations: 115 kB / 3.192 GB, free: 29.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/6.767, allocations: 43.97 kB / 3.192 GB, free: 29.73 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.0001799/6.768, allocations: 156.8 kB / 3.192 GB, free: 29.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/6.768, allocations: 102.7 kB / 3.192 GB, free: 29.46 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/6.77, allocations: 1.372 MB / 3.194 GB, free: 28.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/6.77, allocations: 12 kB / 3.194 GB, free: 28.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/6.77, allocations: 0 / 3.194 GB, free: 28.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/6.77, allocations: 11.97 kB / 3.194 GB, free: 28.05 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/6.774, allocations: 2.551 MB / 3.196 GB, free: 25.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/6.774, allocations: 0 / 3.196 GB, free: 25.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009318/6.775, allocations: 195.8 kB / 3.196 GB, free: 25.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/6.776, allocations: 88.73 kB / 3.196 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/6.776, allocations: 27.98 kB / 3.197 GB, free: 25.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/6.778, allocations: 1.555 MB / 3.198 GB, free: 23.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/6.778, allocations: 0 / 3.198 GB, free: 23.44 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/6.78, allocations: 1.129 MB / 3.199 GB, free: 22.29 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/6.78, allocations: 367.2 kB / 3.199 GB, free: 21.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/6.78, allocations: 20 kB / 3.2 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/6.781, allocations: 71.95 kB / 3.2 GB, free: 21.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/6.781, allocations: 76.88 kB / 3.2 GB, free: 21.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/6.781, allocations: 39.98 kB / 3.2 GB, free: 21.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007147/6.782, allocations: 0.6045 MB / 3.2 GB, free: 21.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.782, allocations: 0 / 3.2 GB, free: 21.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001207/6.783, allocations: 454.5 kB / 3.201 GB, free: 20.66 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.00156/6.785, allocations: 0.9781 MB / 3.202 GB, free: 19.76 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001458/6.786, allocations: 0.9602 MB / 3.203 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/6.786, allocations: 0 / 3.203 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/6.787, allocations: 0.5823 MB / 3.203 GB, free: 18.19 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/6.788, allocations: 263.6 kB / 3.203 GB, free: 17.94 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/6.792, allocations: 1.835 MB / 3.205 GB, free: 16.08 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/6.792, allocations: 1.189 MB / 3.206 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008922/6.793, allocations: 304.1 kB / 3.207 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/6.793, allocations: 127.4 kB / 3.207 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/6.793, allocations: 0 / 3.207 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of Templates: time 0.5094/7.303, allocations: 25.19 MB / 3.231 GB, free: 265.9 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