Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.0008693/0.0008693, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.00103/0.00103, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9486/0.9486, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.074e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001739/0.001769, allocations: 1.289 MB / 0.9835 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.002543, allocations: 0.8336 MB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.00257, allocations: 4 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.002601, allocations: 0 / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.002852, allocations: 15.88 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.003007, allocations: 46.98 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.894e-05/0.003086, allocations: 27.91 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.003125, allocations: 0 / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.003181, allocations: 15.92 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.003274, allocations: 8 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.003292, allocations: 0 / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.334e-05/0.003335, allocations: 15.91 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.003385, allocations: 8 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.003408, allocations: 4 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 9.704e-05/0.003505, allocations: 23.91 kB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003507, allocations: 3.938 kB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003508, allocations: 0 / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003512, allocations: 0 / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002667/0.003779, allocations: 258.3 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.003814, allocations: 12.03 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.003873, allocations: 84.17 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.362e-05/0.003967, allocations: 181.1 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.004006, allocations: 154.9 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.004044, allocations: 150.9 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.162e-05/0.004096, allocations: 109.5 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-05/0.004194, allocations: 75.47 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.004229, allocations: 150.9 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.004261, allocations: 150.9 kB / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.004298, allocations: 158.5 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.00449, allocations: 401.6 kB / 0.9863 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.004556, allocations: 173.1 kB / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.00458, allocations: 84.14 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.004602, allocations: 79.28 kB / 0.9866 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.004636, allocations: 109.8 kB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.004637, allocations: 0 / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.883e-05/0.004696, allocations: 25.7 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.004742, allocations: 130.7 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.004843, allocations: 113.7 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.004854, allocations: 25.7 kB / 0.987 GB, free: 13.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.004885, allocations: 88.14 kB / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.004886, allocations: 0 / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.004916, allocations: 21.72 kB / 0.9871 GB, free: 12.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.004986, allocations: 318.8 kB / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.005003, allocations: 4 kB / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.005032, allocations: 33.69 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.005064, allocations: 16.86 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.005067, allocations: 0 / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.005174, allocations: 45.64 kB / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005186, allocations: 4 kB / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.005193, allocations: 0 / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.005205, allocations: 8.062 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.005206, allocations: 0 / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.005211, allocations: 4 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.005328, allocations: 11.91 kB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.005335, allocations: 0 / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.005403, allocations: 185.1 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.005439, allocations: 105 kB / 0.9878 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.005476, allocations: 120.3 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.005512, allocations: 176.3 kB / 0.9881 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.175e-05/0.005554, allocations: 184.5 kB / 0.9882 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/0.005595, allocations: 188.1 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.005724, allocations: 360.9 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/0.005746, allocations: 104.9 kB / 0.9889 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.005768, allocations: 105 kB / 0.989 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.789e-05/0.005806, allocations: 176.3 kB / 0.9891 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.005845, allocations: 180.2 kB / 0.9893 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.98e-05/0.005885, allocations: 188.2 kB / 0.9895 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.74e-05/0.005922, allocations: 180.2 kB / 0.9896 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.753e-05/0.00601, allocations: 299.8 kB / 0.9899 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.00606, allocations: 116.9 kB / 0.99 GB, free: 9.672 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.006106, allocations: 180.3 kB / 0.9902 GB, free: 9.488 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.00615, allocations: 112.9 kB / 0.9903 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.006195, allocations: 176.3 kB / 0.9905 GB, free: 9.191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.006219, allocations: 105 kB / 0.9906 GB, free: 9.082 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.006256, allocations: 91.27 kB / 0.9907 GB, free: 8.992 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006256, allocations: 0 / 0.9907 GB, free: 8.992 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000151/0.006407, allocations: 11.88 kB / 0.9907 GB, free: 8.98 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002202/0.006627, allocations: 186.4 kB / 0.9909 GB, free: 8.785 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.006705, allocations: 12 kB / 0.9909 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006706, allocations: 0 / 0.9909 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.006707, allocations: 0 / 0.9909 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.006942, allocations: 455.7 kB / 0.9913 GB, free: 8.324 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.007187, allocations: 197 kB / 0.9915 GB, free: 8.102 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.007232, allocations: 67.28 kB / 0.9916 GB, free: 8.016 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.007247, allocations: 8.5 kB / 0.9916 GB, free: 8.008 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.007248, allocations: 0 / 0.9916 GB, free: 8.008 MB / 0.948 GB Notification: Performance of Templates: time 0.001492/0.00874, allocations: 0.5452 MB / 0.9921 GB, free: 7.469 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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: 6.938388500362635]