Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001794/0.001794, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001984/0.001984, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.527/1.527, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.311/3.311, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.468e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007984/0.008009, allocations: 4.761 MB / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2257/0.2337, allocations: 146.3 MB / 1.025 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.2348, allocations: 23.81 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.2359, allocations: 202.1 kB / 1.025 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.2389, allocations: 0.5863 MB / 1.026 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.2421, allocations: 0.8802 MB / 1.027 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002978/0.2451, allocations: 1.537 MB / 1.028 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.2464, allocations: 398.2 kB / 1.028 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.2483, allocations: 0.7835 MB / 1.029 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.2494, allocations: 433.4 kB / 1.03 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.2498, allocations: 128 kB / 1.03 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.2512, allocations: 0.4954 MB / 1.03 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.2516, allocations: 323 kB / 1.031 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006919/0.2523, allocations: 414.9 kB / 1.031 GB, free: 8.867 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.2551, allocations: 1.857 MB / 1.033 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2551, allocations: 4 kB / 1.033 GB, free: 7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.021e-06/0.2551, allocations: 0 / 1.033 GB, free: 7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.376e-05/0.2551, allocations: 0 / 1.033 GB, free: 7 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.003538/0.2587, allocations: 1.661 MB / 1.034 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2587, allocations: 8.031 kB / 1.034 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.2606, allocations: 359.4 kB / 1.035 GB, free: 4.93 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.2622, allocations: 0.7559 MB / 1.036 GB, free: 4.148 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.2623, allocations: 70.12 kB / 1.036 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.2625, allocations: 100 kB / 1.036 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.2648, allocations: 1.254 MB / 1.037 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.2648, allocations: 0 / 1.037 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/0.2649, allocations: 43.94 kB / 1.037 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.2649, allocations: 24 kB / 1.037 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.267, allocations: 1.042 MB / 1.038 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005806/0.2728, allocations: 3.071 MB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.2745, allocations: 0.7943 MB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.2751, allocations: 289.1 kB / 1.042 GB, free: 13.25 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.2752, allocations: 28.98 kB / 1.042 GB, free: 13.22 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.2763, allocations: 0.6473 MB / 1.043 GB, free: 12.53 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.675e-06/0.2763, allocations: 0 / 1.043 GB, free: 12.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.003802/0.2801, allocations: 1.163 MB / 1.044 GB, free: 11.35 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.2803, allocations: 208.8 kB / 1.044 GB, free: 11.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.2814, allocations: 0.7768 MB / 1.045 GB, free: 10.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.2816, allocations: 53.69 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.2821, allocations: 0.4884 MB / 1.045 GB, free: 9.758 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.2825, allocations: 337.3 kB / 1.046 GB, free: 9.426 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.2828, allocations: 232.2 kB / 1.046 GB, free: 9.191 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004283/0.2833, allocations: 0.625 MB / 1.046 GB, free: 8.555 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.2839, allocations: 261.9 kB / 1.047 GB, free: 8.297 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008869/0.2848, allocations: 0.5366 MB / 1.047 GB, free: 7.707 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2861, allocations: 0.6316 MB / 1.048 GB, free: 7.055 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.2861, allocations: 0 / 1.048 GB, free: 7.055 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002411/0.2885, allocations: 0.9417 MB / 1.049 GB, free: 6.105 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2885, allocations: 4 kB / 1.049 GB, free: 6.102 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2885, allocations: 128 / 1.049 GB, free: 6.102 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2895, allocations: 143.5 kB / 1.049 GB, free: 5.957 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008509/0.2904, allocations: 195.8 kB / 1.049 GB, free: 5.766 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.2934, allocations: 2.038 MB / 1.051 GB, free: 3.594 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.2941, allocations: 87.56 kB / 1.051 GB, free: 3.508 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.2943, allocations: 43.97 kB / 1.051 GB, free: 3.465 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (117): * Single equations (assignments): 116 * 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.0004745/0.2947, allocations: 283 kB / 1.051 GB, free: 3.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.295, allocations: 123.4 kB / 1.052 GB, free: 3.059 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.2978, allocations: 1.1 MB / 1.053 GB, free: 1.941 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.2978, allocations: 8 kB / 1.053 GB, free: 1.934 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2978, allocations: 4 kB / 1.053 GB, free: 1.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.2979, allocations: 4.094 kB / 1.053 GB, free: 1.926 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3888/0.6867, allocations: 2.168 MB / 1.055 GB, free: 218.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6867, allocations: 0 / 1.055 GB, free: 218.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.6873, allocations: 156.6 kB / 1.055 GB, free: 218.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007479/0.6881, allocations: 134.6 kB / 1.055 GB, free: 218.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.6881, allocations: 31.27 kB / 1.055 GB, free: 218.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.6897, allocations: 2.051 MB / 1.057 GB, free: 217 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6897, allocations: 0 / 1.057 GB, free: 217 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.6916, allocations: 1.138 MB / 1.058 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.692, allocations: 208.6 kB / 1.058 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6921, allocations: 27.2 kB / 1.058 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.6927, allocations: 51.61 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6929, allocations: 82.48 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.6929, allocations: 43.11 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004698/0.6934, allocations: 0.4888 MB / 1.059 GB, free: 216.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6934, allocations: 0 / 1.059 GB, free: 216.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008312/0.6942, allocations: 356.4 kB / 1.059 GB, free: 216.6 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.003261/0.6975, allocations: 0.6695 MB / 1.06 GB, free: 216.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.699, allocations: 0.9265 MB / 1.061 GB, free: 216.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.699, allocations: 4.281 kB / 1.061 GB, free: 216.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.6998, allocations: 0.6161 MB / 1.062 GB, free: 215.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.701, allocations: 321.2 kB / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.7033, allocations: 1.72 MB / 1.064 GB, free: 214.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.7036, allocations: 451.7 kB / 1.064 GB, free: 214.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006329/0.7043, allocations: 260.5 kB / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.7045, allocations: 121 kB / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of SimCode: time 7.82e-07/0.7045, allocations: 0 / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of Templates: time 0.02338/0.7279, allocations: 16.42 MB / 1.08 GB, free: 212.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.539142807014287]