Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 387.1 MB / 399.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 191.3 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009267, allocations: 95.89 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.198e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3439, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.597, allocations: 1.732 GB / 2.945 GB, free: 107 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/5.597, allocations: 85.33 kB / 2.945 GB, free: 107 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1981/5.795, allocations: 94.36 MB / 3.037 GB, free: 17.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.487e-06/5.795, allocations: 0 / 3.037 GB, free: 17.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001013/5.796, allocations: 35.94 kB / 3.037 GB, free: 17.62 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002649/5.798, allocations: 1.399 MB / 3.038 GB, free: 16.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/5.798, allocations: 11.97 kB / 3.038 GB, free: 16.16 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/5.799, allocations: 249.8 kB / 3.038 GB, free: 15.92 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/5.8, allocations: 0.7677 MB / 3.039 GB, free: 15.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/5.801, allocations: 114.8 kB / 3.039 GB, free: 15 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/5.801, allocations: 136 kB / 3.039 GB, free: 14.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/5.803, allocations: 1.37 MB / 3.041 GB, free: 13.44 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/5.803, allocations: 0 / 3.041 GB, free: 13.44 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/5.803, allocations: 64 kB / 3.041 GB, free: 13.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/5.803, allocations: 35.95 kB / 3.041 GB, free: 13.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/5.805, allocations: 1.459 MB / 3.042 GB, free: 11.88 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/5.81, allocations: 3.838 MB / 3.046 GB, free: 7.961 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/5.812, allocations: 0.9034 MB / 3.047 GB, free: 7.043 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/5.812, allocations: 379.8 kB / 3.047 GB, free: 6.672 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/5.812, allocations: 48.91 kB / 3.047 GB, free: 6.621 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/5.813, allocations: 0.5631 MB / 3.048 GB, free: 6.039 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/5.813, allocations: 0 / 3.048 GB, free: 6.039 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.002006/5.815, allocations: 0.9579 MB / 3.049 GB, free: 5.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/5.815, allocations: 252.3 kB / 3.049 GB, free: 4.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/5.816, allocations: 0.7271 MB / 3.05 GB, free: 4.039 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/5.816, allocations: 45.7 kB / 3.05 GB, free: 3.988 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/5.817, allocations: 0.5505 MB / 3.05 GB, free: 3.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/5.817, allocations: 350.9 kB / 3.051 GB, free: 3.082 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/5.817, allocations: 12 kB / 3.051 GB, free: 3.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/5.817, allocations: 345.9 kB / 3.051 GB, free: 2.727 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/5.817, allocations: 313.9 kB / 3.051 GB, free: 2.422 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/5.818, allocations: 451.4 kB / 3.052 GB, free: 1.949 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/5.819, allocations: 380.8 kB / 3.052 GB, free: 1.578 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/5.819, allocations: 4 kB / 3.052 GB, free: 1.574 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001881/5.82, allocations: 1.02 MB / 3.053 GB, free: 0.5469 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/5.82, allocations: 11.98 kB / 3.053 GB, free: 0.5352 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/5.82, allocations: 4.062 kB / 3.053 GB, free: 0.5312 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/5.821, allocations: 80.78 kB / 3.053 GB, free: 460 kB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/5.822, allocations: 211.7 kB / 3.053 GB, free: 248 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8217/6.644, allocations: 1.52 MB / 3.055 GB, free: 383.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/6.645, allocations: 117.1 kB / 3.055 GB, free: 383.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/6.645, allocations: 42.47 kB / 3.055 GB, free: 383.4 MB / 1.151 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.0003102/6.646, allocations: 159.3 kB / 3.055 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/6.646, allocations: 105 kB / 3.055 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/6.65, allocations: 1.369 MB / 3.057 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/6.65, allocations: 11.09 kB / 3.057 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/6.65, allocations: 1.219 kB / 3.057 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/6.65, allocations: 5.719 kB / 3.057 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/6.655, allocations: 2.574 MB / 3.059 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/6.655, allocations: 0 / 3.059 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/6.656, allocations: 196 kB / 3.059 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005776/6.657, allocations: 83.61 kB / 3.059 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-05/6.657, allocations: 33.2 kB / 3.06 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/6.659, allocations: 1.554 MB / 3.061 GB, free: 381.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/6.659, allocations: 0 / 3.061 GB, free: 381.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/6.661, allocations: 1.125 MB / 3.062 GB, free: 381.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/6.662, allocations: 372.4 kB / 3.062 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/6.662, allocations: 22.88 kB / 3.062 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/6.663, allocations: 70.97 kB / 3.063 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/6.663, allocations: 75.62 kB / 3.063 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-05/6.663, allocations: 43.38 kB / 3.063 GB, free: 381.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001163/6.664, allocations: 0.6123 MB / 3.063 GB, free: 381 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/6.665, allocations: 0 / 3.063 GB, free: 381 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002077/6.667, allocations: 469.6 kB / 3.064 GB, free: 381 MB / 1.151 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.002394/6.669, allocations: 1.039 MB / 3.065 GB, free: 380.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002193/6.671, allocations: 0.9528 MB / 3.066 GB, free: 380.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/6.671, allocations: 3.469 kB / 3.066 GB, free: 380.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/6.672, allocations: 0.5935 MB / 3.066 GB, free: 380.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/6.674, allocations: 249.1 kB / 3.066 GB, free: 380.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/6.679, allocations: 1.848 MB / 3.068 GB, free: 380.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008847/6.68, allocations: 1.191 MB / 3.069 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001311/6.681, allocations: 306.7 kB / 3.07 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/6.681, allocations: 132.6 kB / 3.07 GB, free: 379.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/6.681, allocations: 0 / 3.07 GB, free: 379.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05434/6.736, allocations: 25.62 MB / 3.095 GB, free: 377.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches