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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9852/0.9852, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.15/2.15, allocations: 429.5 MB / 0.6736 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.499e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.0081/0.008135, allocations: 4.83 MB / 0.8829 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.1726, allocations: 146.5 MB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.1734, allocations: 19.81 kB / 1.026 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.1739, allocations: 206.1 kB / 1.026 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1752, allocations: 0.6057 MB / 1.027 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1766, allocations: 0.8686 MB / 1.028 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.1776, allocations: 1.557 MB / 1.029 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.1781, allocations: 402 kB / 1.03 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007916/0.1789, allocations: 0.7874 MB / 1.03 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.1793, allocations: 442.7 kB / 1.031 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1795, allocations: 132 kB / 1.031 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.18, allocations: 0.4993 MB / 1.031 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.1802, allocations: 334.9 kB / 1.032 GB, free: 8.906 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.1805, allocations: 415 kB / 1.032 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1817, allocations: 1.323 MB / 1.033 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1817, allocations: 4 kB / 1.033 GB, free: 7.168 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1817, allocations: 0 / 1.033 GB, free: 7.168 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.1817, allocations: 0 / 1.033 GB, free: 7.168 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001703/0.1834, allocations: 1.576 MB / 1.035 GB, free: 5.543 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1835, allocations: 8.031 kB / 1.035 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.1846, allocations: 383.3 kB / 1.035 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008302/0.1854, allocations: 0.7442 MB / 1.036 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.1854, allocations: 78.12 kB / 1.036 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.1855, allocations: 92 kB / 1.036 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1867, allocations: 1.068 MB / 1.037 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1867, allocations: 0 / 1.037 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.1868, allocations: 36 kB / 1.037 GB, free: 3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.1868, allocations: 24 kB / 1.037 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.1877, allocations: 0.8348 MB / 1.038 GB, free: 2.145 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.1901, allocations: 2.422 MB / 1.04 GB, free: 15.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.1909, allocations: 0.543 MB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.1912, allocations: 205.1 kB / 1.041 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.1913, allocations: 36.97 kB / 1.041 GB, free: 14.87 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.1918, allocations: 0.5378 MB / 1.042 GB, free: 14.29 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 2.145e-06/0.1918, allocations: 0 / 1.042 GB, free: 14.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.001655/0.1934, allocations: 0.9368 MB / 1.043 GB, free: 13.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/0.1935, allocations: 204.9 kB / 1.043 GB, free: 13.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.194, allocations: 0.5971 MB / 1.043 GB, free: 12.48 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.194, allocations: 53.7 kB / 1.043 GB, free: 12.42 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.1943, allocations: 468.1 kB / 1.044 GB, free: 11.96 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.1946, allocations: 321.3 kB / 1.044 GB, free: 11.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.1948, allocations: 216.2 kB / 1.044 GB, free: 11.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1949, allocations: 0.5625 MB / 1.045 GB, free: 10.85 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1952, allocations: 165.9 kB / 1.045 GB, free: 10.69 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.1955, allocations: 413.8 kB / 1.046 GB, free: 10.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.1961, allocations: 455.1 kB / 1.046 GB, free: 9.77 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1961, allocations: 3.938 kB / 1.046 GB, free: 9.766 MB / 1.01 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001085/0.1972, allocations: 0.7545 MB / 1.047 GB, free: 9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1972, allocations: 18.42 kB / 1.047 GB, free: 8.984 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1972, allocations: 0 / 1.047 GB, free: 8.984 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/0.1977, allocations: 131.6 kB / 1.047 GB, free: 8.852 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.1981, allocations: 203.7 kB / 1.047 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.1994, allocations: 1.909 MB / 1.049 GB, free: 6.613 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.1997, allocations: 91.44 kB / 1.049 GB, free: 6.523 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.1998, allocations: 48 kB / 1.049 GB, free: 6.477 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.2, allocations: 215 kB / 1.049 GB, free: 6.258 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.2001, allocations: 123.4 kB / 1.049 GB, free: 6.137 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2014, allocations: 0.9478 MB / 1.05 GB, free: 5.172 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2014, allocations: 12 kB / 1.05 GB, free: 5.16 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2014, allocations: 0 / 1.05 GB, free: 5.16 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.2014, allocations: 7.969 kB / 1.05 GB, free: 5.152 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.2035, allocations: 1.791 MB / 1.052 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2035, allocations: 0 / 1.052 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.2038, allocations: 163.8 kB / 1.052 GB, free: 3.137 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.2042, allocations: 119.5 kB / 1.052 GB, free: 3.016 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.2042, allocations: 31.97 kB / 1.052 GB, free: 2.984 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.2053, allocations: 1.915 MB / 1.054 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2053, allocations: 0 / 1.054 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3899/0.5952, allocations: 0.9452 MB / 1.055 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/0.5958, allocations: 213.8 kB / 1.055 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.5959, allocations: 24.2 kB / 1.055 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.5964, allocations: 55.86 kB / 1.055 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.5965, allocations: 87.56 kB / 1.055 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/0.5966, allocations: 36.59 kB / 1.056 GB, free: 219.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003948/0.597, allocations: 410.2 kB / 1.056 GB, free: 219.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.01e-07/0.597, allocations: 0 / 1.056 GB, free: 219.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008865/0.5979, allocations: 363.5 kB / 1.056 GB, free: 219.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.5993, allocations: 0.6347 MB / 1.057 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.6005, allocations: 0.7384 MB / 1.058 GB, free: 219 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6005, allocations: 2.719 kB / 1.058 GB, free: 219 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.601, allocations: 0.4983 MB / 1.058 GB, free: 218.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.602, allocations: 342.8 kB / 1.058 GB, free: 218.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.6046, allocations: 1.618 MB / 1.06 GB, free: 218.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.6047, allocations: 203.9 kB / 1.06 GB, free: 218 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005685/0.6053, allocations: 266.2 kB / 1.06 GB, free: 217.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.6055, allocations: 120.8 kB / 1.061 GB, free: 217.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.042e-06/0.6055, allocations: 0 / 1.061 GB, free: 217.9 MB / 1.01 GB Notification: Performance of Templates: time 0.02059/0.6261, allocations: 16.77 MB / 1.077 GB, free: 216 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.545256951125339]