Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.503/2.503, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001483/0.001483, allocations: 189.1 kB / 498.1 MB, free: 5.727 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.747/1.747, allocations: 223.2 MB / 0.7949 GB, free: 18.82 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.001087/0.001087, allocations: 106.7 kB / 0.9346 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003797, allocations: 8.875 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 142.3 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.359/4.671, allocations: 1.732 GB / 2.955 GB, free: 201.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/4.671, allocations: 99.94 kB / 2.955 GB, free: 201.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1299/4.801, allocations: 60.03 MB / 3.013 GB, free: 141.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.098e-06/4.801, allocations: 7.938 kB / 3.013 GB, free: 141.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.688e-05/4.801, allocations: 23.88 kB / 3.013 GB, free: 141.4 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002332/4.803, allocations: 1.199 MB / 3.015 GB, free: 140.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/4.804, allocations: 8.031 kB / 3.015 GB, free: 140.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/4.804, allocations: 186.6 kB / 3.015 GB, free: 140 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/4.805, allocations: 0.6114 MB / 3.015 GB, free: 139.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/4.805, allocations: 62 kB / 3.015 GB, free: 139.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/4.805, allocations: 76 kB / 3.016 GB, free: 139.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/4.807, allocations: 0.8871 MB / 3.016 GB, free: 138.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/4.807, allocations: 0 / 3.016 GB, free: 138.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/4.807, allocations: 39.95 kB / 3.016 GB, free: 138.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/4.807, allocations: 24 kB / 3.016 GB, free: 138.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/4.808, allocations: 1.1 MB / 3.018 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/4.812, allocations: 2.535 MB / 3.02 GB, free: 134.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/4.813, allocations: 0.758 MB / 3.021 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/4.813, allocations: 32.94 kB / 3.021 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006644/4.814, allocations: 447.1 kB / 3.021 GB, free: 133.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/4.814, allocations: 4 kB / 3.021 GB, free: 133.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002811/4.817, allocations: 1.14 MB / 3.022 GB, free: 132.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/4.817, allocations: 240 kB / 3.023 GB, free: 131.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/4.818, allocations: 0.5893 MB / 3.023 GB, free: 131.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/4.818, allocations: 41.7 kB / 3.023 GB, free: 131.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/4.818, allocations: 384.3 kB / 3.024 GB, free: 130.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/4.818, allocations: 248.3 kB / 3.024 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/4.818, allocations: 12 kB / 3.024 GB, free: 130.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001231/4.818, allocations: 386.8 kB / 3.024 GB, free: 130.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/4.819, allocations: 229.2 kB / 3.024 GB, free: 129.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/4.819, allocations: 343.6 kB / 3.025 GB, free: 129.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/4.82, allocations: 279.1 kB / 3.025 GB, free: 129.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/4.82, allocations: 0 / 3.025 GB, free: 129.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001579/4.821, allocations: 0.7626 MB / 3.026 GB, free: 128.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/4.821, allocations: 4.781 kB / 3.026 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/4.821, allocations: 0 / 3.026 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/4.822, allocations: 84.83 kB / 3.026 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/4.823, allocations: 147.8 kB / 3.026 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/4.824, allocations: 1.536 MB / 3.027 GB, free: 126.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/4.825, allocations: 87.41 kB / 3.028 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/4.825, allocations: 23.98 kB / 3.028 GB, free: 126.5 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004581/4.826, allocations: 258 kB / 3.028 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/4.826, allocations: 83.06 kB / 3.028 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/4.828, allocations: 1.049 MB / 3.029 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/4.828, allocations: 11.95 kB / 3.029 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/4.828, allocations: 4 kB / 3.029 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/4.828, allocations: 3.984 kB / 3.029 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/4.831, allocations: 1.937 MB / 3.031 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/4.831, allocations: 3.984 kB / 3.031 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/4.831, allocations: 151.7 kB / 3.031 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/4.832, allocations: 84.77 kB / 3.031 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/4.832, allocations: 27.98 kB / 3.031 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/4.833, allocations: 1.555 MB / 3.033 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/4.833, allocations: 0 / 3.033 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/4.835, allocations: 0.9453 MB / 3.033 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/4.835, allocations: 287.6 kB / 3.034 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/4.836, allocations: 16 kB / 3.034 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/4.836, allocations: 71.94 kB / 3.034 GB, free: 119.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/4.836, allocations: 60.88 kB / 3.034 GB, free: 119.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/4.836, allocations: 35.97 kB / 3.034 GB, free: 119.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005948/4.837, allocations: 495 kB / 3.034 GB, free: 119.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 4e-07/4.837, allocations: 0 / 3.034 GB, free: 119.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001236/4.838, allocations: 359.2 kB / 3.035 GB, free: 118.8 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) * Number of clocked states: 0 () * 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.002102/4.84, allocations: 1.072 MB / 3.036 GB, free: 117.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001482/4.842, allocations: 0.7511 MB / 3.037 GB, free: 117.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/4.842, allocations: 0 / 3.037 GB, free: 117.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007228/4.843, allocations: 0.5003 MB / 3.037 GB, free: 116.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/4.844, allocations: 235.6 kB / 3.037 GB, free: 116.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/4.847, allocations: 2.109 MB / 3.039 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/4.848, allocations: 1.027 MB / 3.04 GB, free: 113.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008124/4.849, allocations: 262.2 kB / 3.041 GB, free: 112.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/4.849, allocations: 103.4 kB / 3.041 GB, free: 112.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.553e-06/4.849, allocations: 0 / 3.041 GB, free: 112.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03433/4.883, allocations: 20.55 MB / 3.061 GB, free: 92.42 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches