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.328/2.328, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001214/0.001214, allocations: 182.9 kB / 498.1 MB, free: 5.742 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.648/1.648, allocations: 223.2 MB / 0.7949 GB, free: 18.79 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.001069/0.001069, allocations: 96.33 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 7.812 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3344, allocations: 142.4 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.679/5.013, allocations: 1.732 GB / 2.955 GB, free: 215.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/5.013, allocations: 87.42 kB / 2.955 GB, free: 215.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1959/5.209, allocations: 94.69 MB / 3.048 GB, free: 132.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.296e-06/5.209, allocations: 0 / 3.048 GB, free: 132.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.06e-05/5.209, allocations: 32 kB / 3.048 GB, free: 132.8 MB / 1.167 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.002877/5.212, allocations: 1.529 MB / 3.049 GB, free: 131.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/5.212, allocations: 8.031 kB / 3.049 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/5.213, allocations: 249.3 kB / 3.049 GB, free: 131.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/5.214, allocations: 0.7768 MB / 3.05 GB, free: 130.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/5.215, allocations: 102.4 kB / 3.05 GB, free: 130.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/5.215, allocations: 142.1 kB / 3.05 GB, free: 130.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/5.217, allocations: 1.409 MB / 3.052 GB, free: 129.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/5.217, allocations: 0 / 3.052 GB, free: 129.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/5.217, allocations: 61.95 kB / 3.052 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/5.217, allocations: 36 kB / 3.052 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/5.219, allocations: 1.522 MB / 3.053 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005505/5.225, allocations: 3.824 MB / 3.057 GB, free: 125.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/5.226, allocations: 0.9658 MB / 3.058 GB, free: 124.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.183e-05/5.226, allocations: 52.95 kB / 3.058 GB, free: 124.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000836/5.227, allocations: 0.5741 MB / 3.059 GB, free: 124 MB / 1.167 GB Notification: Performance of pre-optimization done (n=104): time 3.015e-06/5.227, allocations: 0 / 3.059 GB, free: 124 MB / 1.167 GB Notification: Performance of matching and sorting (n=104): time 0.003312/5.23, allocations: 1.497 MB / 3.06 GB, free: 122.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/5.23, allocations: 244.3 kB / 3.06 GB, free: 122.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/5.231, allocations: 0.7335 MB / 3.061 GB, free: 122.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.921e-05/5.231, allocations: 40.83 kB / 3.061 GB, free: 122 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/5.232, allocations: 0.5621 MB / 3.062 GB, free: 121.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/5.232, allocations: 343 kB / 3.062 GB, free: 121.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/5.232, allocations: 19.12 kB / 3.062 GB, free: 121.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/5.232, allocations: 341.2 kB / 3.062 GB, free: 121 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/5.233, allocations: 344.2 kB / 3.063 GB, free: 120.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/5.233, allocations: 473.2 kB / 3.063 GB, free: 120.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/5.234, allocations: 408.7 kB / 3.064 GB, free: 120.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/5.234, allocations: 0 / 3.064 GB, free: 120.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002163/5.236, allocations: 1.081 MB / 3.065 GB, free: 119.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/5.236, allocations: 4 kB / 3.065 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/5.236, allocations: 0 / 3.065 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/5.237, allocations: 83.22 kB / 3.065 GB, free: 119.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/5.238, allocations: 215.4 kB / 3.065 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/5.24, allocations: 1.546 MB / 3.066 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/5.24, allocations: 111.4 kB / 3.066 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/5.241, allocations: 49.83 kB / 3.067 GB, free: 117.4 MB / 1.167 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.000721/5.241, allocations: 310 kB / 3.067 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/5.241, allocations: 102.8 kB / 3.067 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/5.244, allocations: 1.418 MB / 3.068 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/5.244, allocations: 15.95 kB / 3.068 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/5.244, allocations: 0 / 3.068 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/5.244, allocations: 3.984 kB / 3.068 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/5.248, allocations: 2.629 MB / 3.071 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/5.248, allocations: 4 kB / 3.071 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/5.249, allocations: 183.8 kB / 3.071 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/5.249, allocations: 84.77 kB / 3.071 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/5.25, allocations: 35.92 kB / 3.071 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/5.251, allocations: 1.571 MB / 3.073 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/5.251, allocations: 0 / 3.073 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/5.253, allocations: 1.175 MB / 3.074 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/5.254, allocations: 367.2 kB / 3.074 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/5.254, allocations: 27.94 kB / 3.074 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/5.254, allocations: 72.02 kB / 3.074 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/5.255, allocations: 76.89 kB / 3.074 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/5.255, allocations: 43.97 kB / 3.074 GB, free: 109.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007749/5.255, allocations: 0.62 MB / 3.075 GB, free: 108.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/5.255, allocations: 4 kB / 3.075 GB, free: 108.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001438/5.257, allocations: 466.6 kB / 3.075 GB, free: 108.4 MB / 1.167 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.001974/5.259, allocations: 1.082 MB / 3.077 GB, free: 107.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001876/5.261, allocations: 1.003 MB / 3.078 GB, free: 106.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/5.261, allocations: 0 / 3.078 GB, free: 106.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008757/5.262, allocations: 0.6171 MB / 3.078 GB, free: 105.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/5.263, allocations: 255.5 kB / 3.078 GB, free: 105.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/5.268, allocations: 2.959 MB / 3.081 GB, free: 102.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/5.268, allocations: 1.185 MB / 3.082 GB, free: 101.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001014/5.269, allocations: 308.2 kB / 3.083 GB, free: 101.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/5.27, allocations: 135.4 kB / 3.083 GB, free: 101 MB / 1.167 GB Notification: Performance of SimCode: time 1.373e-06/5.27, allocations: 0 / 3.083 GB, free: 101 MB / 1.167 GB Notification: Performance of Templates: time 0.03271/5.302, allocations: 23.95 MB / 3.106 GB, free: 77.16 MB / 1.167 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