Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001756/0.001756, allocations: 84.73 kB / 19.44 MB, free: 348 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.001923/0.001923, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.906 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.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8776 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.925e-05, allocations: 6.25 kB / 0.8776 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002585/0.002614, allocations: 1.295 MB / 0.8789 GB, free: 4.059 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003944, allocations: 0.8445 MB / 0.8797 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.00397, allocations: 0 / 0.8797 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.004015, allocations: 3.938 kB / 0.8797 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.004242, allocations: 14.28 kB / 0.8797 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.004439, allocations: 54.17 kB / 0.8798 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.004518, allocations: 23.09 kB / 0.8798 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.00455, allocations: 0 / 0.8798 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.00462, allocations: 20.66 kB / 0.8798 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.004713, allocations: 4 kB / 0.8798 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.00473, allocations: 0.8438 kB / 0.8798 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.004774, allocations: 7.938 kB / 0.8798 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.004824, allocations: 16.66 kB / 0.8798 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.004858, allocations: 8 kB / 0.8798 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.255e-05/0.004951, allocations: 16.73 kB / 0.8799 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004953, allocations: 0 / 0.8799 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004954, allocations: 0.5625 kB / 0.8799 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.004957, allocations: 1.188 kB / 0.8799 GB, free: 3.059 MB / 0.7917 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.0003613/0.005319, allocations: 254.3 kB / 0.8801 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.005362, allocations: 16.02 kB / 0.8801 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.005444, allocations: 81.25 kB / 0.8802 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.005602, allocations: 185.1 kB / 0.8804 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.005683, allocations: 150.9 kB / 0.8805 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.005767, allocations: 151.6 kB / 0.8807 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.005854, allocations: 105.5 kB / 0.8808 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.005897, allocations: 76.19 kB / 0.8808 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.005977, allocations: 154.9 kB / 0.881 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.446e-05/0.006072, allocations: 154.9 kB / 0.8811 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.006166, allocations: 158.4 kB / 0.8813 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.006522, allocations: 413.5 kB / 0.8817 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.006638, allocations: 165.1 kB / 0.8818 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.006687, allocations: 80.14 kB / 0.8819 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.006731, allocations: 75.28 kB / 0.882 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.748e-05/0.006799, allocations: 109.8 kB / 0.8821 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.0068, allocations: 0 / 0.8821 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 8.892e-05/0.006888, allocations: 29.64 kB / 0.8821 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.006985, allocations: 134.7 kB / 0.8822 GB, free: 492 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007123, allocations: 115.2 kB / 0.8824 GB, free: 368 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.007145, allocations: 25.7 kB / 0.8824 GB, free: 336 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.007203, allocations: 84.16 kB / 0.8825 GB, free: 248 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.007204, allocations: 0 / 0.8825 GB, free: 248 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.007244, allocations: 18.7 kB / 0.8825 GB, free: 224 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.007424, allocations: 318.8 kB / 0.8828 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.007442, allocations: 0 / 0.8828 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.007489, allocations: 38.75 kB / 0.8828 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.007529, allocations: 17.92 kB / 0.8828 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00753, allocations: 0 / 0.8828 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00014/0.00767, allocations: 45.69 kB / 0.8829 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.007685, allocations: 5.125 kB / 0.8829 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00769, allocations: 0 / 0.8829 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.007708, allocations: 0 / 0.8829 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.007709, allocations: 0.7812 kB / 0.8829 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.007717, allocations: 4 kB / 0.8829 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.007853, allocations: 4.812 kB / 0.8829 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.007874, allocations: 9.641 kB / 0.8829 GB, free: 15.77 MB / 0.8073 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 0.0001275/0.008001, allocations: 185.1 kB / 0.8831 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.008081, allocations: 108.9 kB / 0.8832 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.008147, allocations: 108.5 kB / 0.8833 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.382e-05/0.008241, allocations: 180.8 kB / 0.8835 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/0.008346, allocations: 192.2 kB / 0.8836 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.95e-05/0.008445, allocations: 181.9 kB / 0.8838 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.008705, allocations: 356.8 kB / 0.8842 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.565e-05/0.008761, allocations: 105 kB / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.008825, allocations: 105 kB / 0.8844 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.008918, allocations: 181 kB / 0.8845 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/0.009015, allocations: 180.2 kB / 0.8847 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.441e-05/0.009109, allocations: 188.9 kB / 0.8849 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.079e-05/0.0092, allocations: 176.3 kB / 0.885 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.009401, allocations: 313.3 kB / 0.8853 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.00948, allocations: 105 kB / 0.8854 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.009584, allocations: 184.2 kB / 0.8856 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.00968, allocations: 105 kB / 0.8857 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.009793, allocations: 187.1 kB / 0.8859 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/0.009849, allocations: 105 kB / 0.886 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.009914, allocations: 87.27 kB / 0.8861 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009914, allocations: 0 / 0.8861 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002606/0.01017, allocations: 7.938 kB / 0.8861 GB, free: 12.32 MB / 0.8073 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.0002771/0.01045, allocations: 184.1 kB / 0.8863 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.561e-05/0.01053, allocations: 11.98 kB / 0.8863 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01053, allocations: 4 kB / 0.8863 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.01061, allocations: 3.938 kB / 0.8863 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.01105, allocations: 459.5 kB / 0.8867 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.01136, allocations: 176 kB / 0.8869 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.508e-05/0.01142, allocations: 59.34 kB / 0.8869 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.01144, allocations: 4 kB / 0.8869 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.01147, allocations: 8.5 kB / 0.887 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.01147, allocations: 0 / 0.887 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of Templates: time 0.002951/0.01442, allocations: 482.1 kB / 0.8874 GB, free: 10.94 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.156606227043085]