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.451/1.451, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 179 kB / 326.5 MB, free: 2.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 2.076/2.076, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009567/0.000957, allocations: 90.36 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 8.812 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2633, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.39/5.653, allocations: 2.191 GB / 3.091 GB, free: 28.14 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/5.654, allocations: 92.7 kB / 3.092 GB, free: 28.05 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7933/6.447, allocations: 93.53 MB / 3.183 GB, free: 299.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.414e-06/6.447, allocations: 3.938 kB / 3.183 GB, free: 299.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001565/6.447, allocations: 32 kB / 3.183 GB, free: 299.1 MB / 0.8855 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.0047/6.452, allocations: 1.497 MB / 3.184 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/6.452, allocations: 8.031 kB / 3.184 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/6.453, allocations: 241.8 kB / 3.185 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/6.455, allocations: 0.7851 MB / 3.185 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.244e-05/6.455, allocations: 103.8 kB / 3.186 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/6.455, allocations: 130.5 kB / 3.186 GB, free: 296.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/6.457, allocations: 1.368 MB / 3.187 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/6.457, allocations: 3.984 kB / 3.187 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/6.457, allocations: 60.97 kB / 3.187 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/6.457, allocations: 40 kB / 3.187 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/6.46, allocations: 1.47 MB / 3.189 GB, free: 294.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/6.466, allocations: 3.605 MB / 3.192 GB, free: 290.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/6.467, allocations: 0.9683 MB / 3.193 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/6.467, allocations: 48.98 kB / 3.193 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008618/6.468, allocations: 0.5825 MB / 3.194 GB, free: 289 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 2.585e-06/6.468, allocations: 0 / 3.194 GB, free: 289 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.003328/6.471, allocations: 1.49 MB / 3.195 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/6.472, allocations: 248.3 kB / 3.195 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/6.473, allocations: 0.7113 MB / 3.196 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/6.473, allocations: 45.7 kB / 3.196 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/6.473, allocations: 0.5505 MB / 3.197 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/6.473, allocations: 350.9 kB / 3.197 GB, free: 285.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/6.473, allocations: 16 kB / 3.197 GB, free: 285.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001089/6.473, allocations: 345.9 kB / 3.197 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/6.474, allocations: 341.8 kB / 3.198 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/6.475, allocations: 475.1 kB / 3.198 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/6.475, allocations: 406.9 kB / 3.198 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/6.475, allocations: 3.953 kB / 3.198 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002091/6.477, allocations: 1.067 MB / 3.199 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/6.478, allocations: 4 kB / 3.199 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/6.478, allocations: 0 / 3.199 GB, free: 282.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/6.478, allocations: 88.83 kB / 3.2 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/6.479, allocations: 210.9 kB / 3.2 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/6.481, allocations: 1.555 MB / 3.201 GB, free: 280.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/6.482, allocations: 107.1 kB / 3.201 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/6.482, allocations: 43.92 kB / 3.201 GB, free: 280.7 MB / 0.8855 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 () * Number of clocked 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.0008278/6.483, allocations: 306.2 kB / 3.202 GB, free: 280.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/6.483, allocations: 110.7 kB / 3.202 GB, free: 280.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/6.486, allocations: 1.411 MB / 3.203 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/6.486, allocations: 15.95 kB / 3.203 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/6.486, allocations: 0 / 3.203 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/6.486, allocations: 7.969 kB / 3.203 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/6.49, allocations: 2.606 MB / 3.206 GB, free: 276.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/6.49, allocations: 4 kB / 3.206 GB, free: 276.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/6.491, allocations: 191.7 kB / 3.206 GB, free: 276 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004926/6.491, allocations: 84.77 kB / 3.206 GB, free: 275.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/6.491, allocations: 31.98 kB / 3.206 GB, free: 275.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/6.493, allocations: 1.571 MB / 3.208 GB, free: 274.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/6.493, allocations: 7.891 kB / 3.208 GB, free: 274.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/6.495, allocations: 1.16 MB / 3.209 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/6.496, allocations: 367.1 kB / 3.209 GB, free: 272.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/6.496, allocations: 23.95 kB / 3.209 GB, free: 272.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/6.497, allocations: 71.95 kB / 3.209 GB, free: 272.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/6.497, allocations: 80.77 kB / 3.209 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/6.497, allocations: 40.25 kB / 3.209 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008537/6.498, allocations: 0.6122 MB / 3.21 GB, free: 271.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/6.498, allocations: 3.938 kB / 3.21 GB, free: 271.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00147/6.499, allocations: 450.5 kB / 3.21 GB, free: 271.3 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002008/6.501, allocations: 1.034 MB / 3.211 GB, free: 270.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001885/6.503, allocations: 1.003 MB / 3.212 GB, free: 269.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/6.503, allocations: 4.125 kB / 3.212 GB, free: 269.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008783/6.504, allocations: 0.6095 MB / 3.213 GB, free: 268.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/6.505, allocations: 254.6 kB / 3.213 GB, free: 268.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/6.51, allocations: 2.94 MB / 3.216 GB, free: 265.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/6.511, allocations: 1.186 MB / 3.217 GB, free: 264.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001108/6.512, allocations: 292.1 kB / 3.217 GB, free: 264 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/6.512, allocations: 131.4 kB / 3.218 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.693e-06/6.512, allocations: 0 / 3.218 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.03427/6.546, allocations: 23.55 MB / 3.241 GB, free: 240.4 MB / 0.8855 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