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.001718/0.001718, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002218/0.002218, allocations: 211.5 kB / 22.99 MB, free: 4.984 MB / 14.72 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.371/3.371, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.7 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002766/0.3763, allocations: 1.288 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3778, allocations: 0.818 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.3779, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.3779, allocations: 7.922 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.3782, allocations: 15.92 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3784, allocations: 53.3 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.3785, allocations: 15.92 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.3786, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.3786, allocations: 19.92 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3788, allocations: 7.984 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3788, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.3788, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.3789, allocations: 3.984 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.3789, allocations: 11.94 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3791, allocations: 27.91 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.3791, allocations: 3.984 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3791, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3791, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 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.0004389/0.3795, allocations: 250.3 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3796, allocations: 15.97 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.3796, allocations: 76.22 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3798, allocations: 193.8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.3799, allocations: 150.9 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.3799, allocations: 166.9 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.553e-05/0.38, allocations: 101.5 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.3801, allocations: 75.47 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.3801, allocations: 158.4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/0.3802, allocations: 150.6 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.3803, allocations: 154.6 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.3806, allocations: 405.5 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.612e-05/0.3807, allocations: 169.1 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.3808, allocations: 80.14 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.3808, allocations: 83.22 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.3809, allocations: 105.8 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3809, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.075e-05/0.381, allocations: 37.62 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.381, allocations: 126.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3812, allocations: 105.8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3812, allocations: 25.7 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.3812, allocations: 84.14 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3812, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3813, allocations: 17.72 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3814, allocations: 310.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.3814, allocations: 7.984 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.3815, allocations: 41.64 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.3815, allocations: 16.84 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3815, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001236/0.3817, allocations: 37.7 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3817, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3817, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3817, allocations: 3.938 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.3817, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3817, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.3819, allocations: 8.109 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3819, allocations: 7.938 kB / 1.332 GB, free: 11.41 MB / 1.029 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.0001383/0.382, allocations: 185.7 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.3821, allocations: 112.9 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.3822, allocations: 108.4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/0.3823, allocations: 184.1 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001208/0.3824, allocations: 180.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/0.3825, allocations: 180.3 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.3828, allocations: 364.7 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.244e-05/0.3829, allocations: 101 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.3829, allocations: 113.3 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.532e-05/0.383, allocations: 184.3 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.3831, allocations: 188.2 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001029/0.3832, allocations: 184.2 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001006/0.3833, allocations: 180.2 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.3835, allocations: 303.8 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/0.3836, allocations: 112.9 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3837, allocations: 176.3 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.3838, allocations: 105 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.3839, allocations: 188.1 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.384, allocations: 101 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.384, allocations: 91.27 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.384, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002522/0.3843, allocations: 4 kB / 1.336 GB, free: 7.938 MB / 1.029 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.0003212/0.3846, allocations: 183.8 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.3847, allocations: 11.94 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3847, allocations: 0 / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3847, allocations: 0 / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3851, allocations: 465.6 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.3854, allocations: 172.9 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.3855, allocations: 59.34 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.3855, allocations: 0 / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3855, allocations: 15.38 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3855, allocations: 0 / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of Templates: time 0.002972/0.3885, allocations: 482 kB / 1.337 GB, free: 6.562 MB / 1.029 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 -s cvode -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/jenkins1/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: 9.472182479992625]