Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.377/2.377, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001243/0.001242, allocations: 182.5 kB / 0.4902 GB, free: 2.254 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.606/1.606, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009951/0.0009952, allocations: 92.27 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004616, allocations: 7.875 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3835, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.672/5.056, allocations: 1.733 GB / 2.962 GB, free: 254.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/5.056, allocations: 103.9 kB / 2.962 GB, free: 254.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1355/5.192, allocations: 60.02 MB / 3.021 GB, free: 194.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.023e-06/5.192, allocations: 0 / 3.021 GB, free: 194.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001111/5.192, allocations: 27.98 kB / 3.021 GB, free: 194.1 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002928/5.195, allocations: 1.191 MB / 3.022 GB, free: 192.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/5.195, allocations: 12.56 kB / 3.022 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/5.196, allocations: 186.6 kB / 3.022 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/5.197, allocations: 0.6192 MB / 3.023 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/5.198, allocations: 58 kB / 3.023 GB, free: 191.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/5.198, allocations: 80 kB / 3.023 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/5.199, allocations: 0.8793 MB / 3.023 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/5.199, allocations: 0 / 3.023 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.204e-05/5.199, allocations: 43.95 kB / 3.024 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/5.199, allocations: 20 kB / 3.024 GB, free: 190.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/5.201, allocations: 1.1 MB / 3.025 GB, free: 189.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/5.205, allocations: 2.558 MB / 3.027 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/5.206, allocations: 0.7472 MB / 3.028 GB, free: 186.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.481e-05/5.207, allocations: 36.94 kB / 3.028 GB, free: 186.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006702/5.207, allocations: 447.2 kB / 3.028 GB, free: 185.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/5.207, allocations: 0 / 3.028 GB, free: 185.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002826/5.21, allocations: 1.136 MB / 3.029 GB, free: 184.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/5.21, allocations: 240 kB / 3.03 GB, free: 184.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/5.211, allocations: 0.5972 MB / 3.03 GB, free: 183.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/5.211, allocations: 41.7 kB / 3.03 GB, free: 183.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/5.211, allocations: 380.3 kB / 3.031 GB, free: 183.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/5.211, allocations: 252.3 kB / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/5.211, allocations: 16 kB / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001086/5.212, allocations: 378.8 kB / 3.031 GB, free: 182.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/5.212, allocations: 229.2 kB / 3.031 GB, free: 182.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/5.212, allocations: 347.6 kB / 3.032 GB, free: 182.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/5.213, allocations: 283.1 kB / 3.032 GB, free: 181.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/5.213, allocations: 0 / 3.032 GB, free: 181.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001638/5.215, allocations: 0.7588 MB / 3.033 GB, free: 181.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/5.215, allocations: 4 kB / 3.033 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/5.215, allocations: 4 kB / 3.033 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/5.215, allocations: 84.83 kB / 3.033 GB, free: 181 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/5.216, allocations: 151.8 kB / 3.033 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/5.218, allocations: 1.528 MB / 3.035 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/5.218, allocations: 91.42 kB / 3.035 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/5.219, allocations: 27.98 kB / 3.035 GB, free: 179.1 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 (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.0004408/5.219, allocations: 250.4 kB / 3.035 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/5.219, allocations: 79.05 kB / 3.035 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/5.221, allocations: 1.053 MB / 3.036 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/5.221, allocations: 11.95 kB / 3.036 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/5.221, allocations: 7.938 kB / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/5.221, allocations: 3.984 kB / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/5.224, allocations: 1.93 MB / 3.038 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/5.224, allocations: 0 / 3.038 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/5.225, allocations: 155.8 kB / 3.038 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/5.225, allocations: 84.77 kB / 3.038 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/5.225, allocations: 23.98 kB / 3.038 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/5.227, allocations: 1.552 MB / 3.04 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/5.227, allocations: 0 / 3.04 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/5.228, allocations: 0.9375 MB / 3.041 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/5.229, allocations: 295.6 kB / 3.041 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/5.229, allocations: 16 kB / 3.041 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/5.23, allocations: 63.95 kB / 3.041 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/5.23, allocations: 68.86 kB / 3.041 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/5.23, allocations: 27.98 kB / 3.041 GB, free: 172.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006656/5.231, allocations: 0.4912 MB / 3.042 GB, free: 171.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.231, allocations: 0 / 3.042 GB, free: 171.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00123/5.232, allocations: 359.2 kB / 3.042 GB, free: 171.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 (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.00233/5.234, allocations: 1.061 MB / 3.043 GB, free: 170.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001544/5.236, allocations: 0.7512 MB / 3.044 GB, free: 169.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/5.236, allocations: 0 / 3.044 GB, free: 169.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007907/5.237, allocations: 0.4965 MB / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/5.238, allocations: 245.6 kB / 3.044 GB, free: 169 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/5.242, allocations: 2.112 MB / 3.046 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/5.243, allocations: 1.027 MB / 3.047 GB, free: 165.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009279/5.243, allocations: 266.2 kB / 3.048 GB, free: 165.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/5.244, allocations: 99.38 kB / 3.048 GB, free: 165.5 MB / 1.167 GB Notification: Performance of SimCode: time 7.42e-07/5.244, allocations: 0 / 3.048 GB, free: 165.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03176/5.276, allocations: 20.55 MB / 3.068 GB, free: 145 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches