Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001719/0.001719, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002167/0.002167, allocations: 210.9 kB / 23 MB, free: 4.566 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.163/3.163, allocations: 0.49 GB / 0.7958 GB, free: 33.57 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [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.002048/0.002048, allocations: 62.38 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3592, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002854/0.362, allocations: 1.29 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3634, allocations: 0.8262 MB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.3634, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.3634, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.3637, allocations: 11.92 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.3638, allocations: 52.61 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.3639, allocations: 19.98 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.364, allocations: 11.98 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.364, allocations: 15.88 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3642, allocations: 7.984 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3642, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.3642, allocations: 7.984 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.3643, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.3643, allocations: 19.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 8.949e-05/0.3644, allocations: 19.86 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3644, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3644, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3644, allocations: 4 kB / 1.329 GB, free: 15.15 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.0003475/0.3648, allocations: 250.4 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3648, allocations: 12.02 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.3649, allocations: 80.22 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.365, allocations: 185.8 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/0.3651, allocations: 150.9 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.3652, allocations: 158.9 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.3653, allocations: 109.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.3653, allocations: 75.47 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.3654, allocations: 158.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.3655, allocations: 150.6 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.3655, allocations: 150.6 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.3659, allocations: 429 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.366, allocations: 177.1 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.366, allocations: 80.14 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.3661, allocations: 75.28 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.701e-05/0.3661, allocations: 113.8 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3661, allocations: 0 / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.848e-05/0.3662, allocations: 41.56 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.3663, allocations: 126.7 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3664, allocations: 105.8 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3665, allocations: 25.7 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.3665, allocations: 80.14 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.3665, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.3666, allocations: 21.72 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3667, allocations: 318.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.3667, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.3668, allocations: 8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.3668, allocations: 20.84 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3668, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.3669, allocations: 41.64 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3669, allocations: 8.125 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3669, allocations: 7.875 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.367, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.367, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.367, allocations: 3.984 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.3671, allocations: 8.234 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3671, allocations: 7.938 kB / 1.332 GB, free: 11.84 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.0001272/0.3672, allocations: 185.7 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.3673, allocations: 108.9 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.3674, allocations: 120.3 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.635e-05/0.3674, allocations: 180.3 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.153e-05/0.3675, allocations: 180.2 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-05/0.3676, allocations: 176.3 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3679, allocations: 376.3 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.839e-05/0.3679, allocations: 108.9 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.368, allocations: 101 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.591e-05/0.3681, allocations: 184.4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-05/0.3682, allocations: 188.2 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-05/0.3682, allocations: 184.3 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.725e-05/0.3683, allocations: 188.2 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3685, allocations: 295.8 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.3686, allocations: 113 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/0.3687, allocations: 180.2 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.3688, allocations: 108.9 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.3689, allocations: 180.3 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.3689, allocations: 108.9 kB / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.369, allocations: 83.28 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000239/0.3692, allocations: 4 kB / 1.336 GB, free: 8.348 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.0003421/0.3696, allocations: 188.1 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.3696, allocations: 7.984 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3696, allocations: 0 / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.3696, allocations: 0 / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.3701, allocations: 463.7 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.3704, allocations: 202.6 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3707, allocations: 0.6806 MB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.3708, allocations: 7.438 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.3708, allocations: 0 / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of Templates: time 0.002286/0.3731, allocations: 0.53 MB / 1.338 GB, free: 6.227 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 11.448936528991908]