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.001801/0.001801, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002211/0.002211, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.259/3.259, allocations: 0.4899 GB / 0.7916 GB, free: 33.31 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.00204/0.00204, allocations: 69.92 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 176.1 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002395/0.3618, allocations: 1.289 MB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3629, allocations: 0.7392 MB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.3629, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.363, allocations: 3.938 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3632, allocations: 15.92 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.3633, allocations: 43.94 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.3634, allocations: 23.91 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.3635, allocations: 4 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.3635, allocations: 19.92 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.3636, allocations: 7.984 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3637, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.3637, allocations: 4 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.3637, allocations: 11.92 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.3638, allocations: 19.92 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.751e-05/0.3639, allocations: 19.86 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3639, allocations: 0 / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3639, allocations: 4 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3639, allocations: 0 / 1.323 GB, free: 0.5391 MB / 1.014 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.000359/0.3642, allocations: 329.5 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3643, allocations: 11.98 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.3643, allocations: 80.2 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3645, allocations: 251.5 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.3646, allocations: 158.9 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.3647, allocations: 150.9 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.072e-05/0.3648, allocations: 101.5 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.3648, allocations: 79.47 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.3649, allocations: 154.5 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.3649, allocations: 158.5 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.365, allocations: 154.5 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3654, allocations: 453.9 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3655, allocations: 165.1 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.3655, allocations: 84.14 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3656, allocations: 79.22 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/0.3656, allocations: 109.8 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3656, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.987e-05/0.3657, allocations: 33.62 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.3658, allocations: 126.7 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3659, allocations: 109.8 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3659, allocations: 25.7 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.366, allocations: 88.14 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.366, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.366, allocations: 13.72 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3662, allocations: 314.8 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.3662, allocations: 4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.3662, allocations: 11.94 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.3663, allocations: 24.92 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3663, allocations: 0 / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.3664, allocations: 37.7 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3664, allocations: 6.344 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3664, allocations: 3.938 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3664, allocations: 4 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.3664, allocations: 0 / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3664, allocations: 0 / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3665, allocations: 7.938 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.3666, allocations: 8.031 kB / 1.327 GB, free: 13.04 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.0001315/0.3667, allocations: 189.1 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.3668, allocations: 108.9 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.3668, allocations: 112.4 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.683e-05/0.3669, allocations: 180.2 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.643e-05/0.367, allocations: 176.5 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.82e-05/0.3671, allocations: 188.3 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.3674, allocations: 405.2 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.3674, allocations: 105 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.3675, allocations: 109.1 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.324e-05/0.3676, allocations: 180.3 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/0.3677, allocations: 188.2 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.045e-05/0.3678, allocations: 188.2 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.449e-05/0.3678, allocations: 176.3 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.368, allocations: 307.8 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3681, allocations: 178.1 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.3682, allocations: 196.1 kB / 1.329 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.3683, allocations: 105 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.3684, allocations: 188.2 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.3685, allocations: 101 kB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.3685, allocations: 83.28 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3685, allocations: 0 / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002359/0.3688, allocations: 8 kB / 1.33 GB, free: 9.406 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.0002547/0.369, allocations: 187.2 kB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.3691, allocations: 15.92 kB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3691, allocations: 0 / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3691, allocations: 3.938 kB / 1.33 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.3695, allocations: 463.7 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.3697, allocations: 172.8 kB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3701, allocations: 0.6767 MB / 1.331 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.3701, allocations: 4 kB / 1.331 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.3701, allocations: 7.438 kB / 1.331 GB, free: 7.828 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3701, allocations: 0 / 1.331 GB, free: 7.828 MB / 1.029 GB Notification: Performance of Templates: time 0.00264/0.3728, allocations: 437.2 kB / 1.332 GB, free: 7.438 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 -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: 9.288760358002037]