Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001388/0.001388, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.0015/0.0015, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.682/2.682, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00207/0.00207, allocations: 63.91 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3199, allocations: 169.9 MB / 1.117 GB, free: 2.504 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002878/0.3227, allocations: 1.278 MB / 1.119 GB, free: 1.215 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3242, allocations: 0.8258 MB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.3243, allocations: 8 kB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.3243, allocations: 0 / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3246, allocations: 7.938 kB / 1.12 GB, free: 380 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.3248, allocations: 47.92 kB / 1.12 GB, free: 332 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.3249, allocations: 19.92 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.3249, allocations: 3.984 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.325, allocations: 19.92 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.3251, allocations: 4 kB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3251, allocations: 0 / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.296e-05/0.3252, allocations: 15.92 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.3252, allocations: 11.92 kB / 1.12 GB, free: 256 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.3252, allocations: 4 kB / 1.12 GB, free: 252 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3254, allocations: 31.84 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3254, allocations: 0 / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3254, allocations: 0 / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.3254, allocations: 0 / 1.12 GB, free: 220 kB / 1.061 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.000389/0.3258, allocations: 250.3 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3258, allocations: 8.031 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.061e-05/0.3259, allocations: 80.22 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.326, allocations: 193.8 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.3261, allocations: 150.9 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.3262, allocations: 150.9 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.333e-05/0.3263, allocations: 105.5 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.3263, allocations: 79.41 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/0.3264, allocations: 158.5 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.3265, allocations: 150.6 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.3265, allocations: 150.6 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.3268, allocations: 401.6 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.327, allocations: 169.1 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.327, allocations: 84.08 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.327, allocations: 83.27 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/0.3271, allocations: 109.8 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3271, allocations: 0 / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.913e-05/0.3272, allocations: 29.64 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.3273, allocations: 126.7 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3274, allocations: 109.8 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3274, allocations: 25.7 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.3275, allocations: 84.14 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.3275, allocations: 0 / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.3275, allocations: 17.7 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3277, allocations: 318.8 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.3277, allocations: 3.938 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.3277, allocations: 41.69 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.3278, allocations: 12.86 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3278, allocations: 3.938 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.3279, allocations: 41.69 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3279, allocations: 7.984 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3279, allocations: 3.984 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.328, allocations: 4.188 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.328, allocations: 4.125 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.328, allocations: 4 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.798e-05/0.328, allocations: 4 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3281, allocations: 0 / 1.123 GB, free: 12.92 MB / 1.076 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.0001161/0.3282, allocations: 197 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.3282, allocations: 108.9 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.3283, allocations: 108.5 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.44e-05/0.3284, allocations: 188.2 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.973e-05/0.3285, allocations: 176.3 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.289e-05/0.3285, allocations: 188.2 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3288, allocations: 360.9 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.52e-05/0.3288, allocations: 101 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.3289, allocations: 104.9 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.58e-05/0.329, allocations: 188.2 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/0.329, allocations: 180.2 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.223e-05/0.3291, allocations: 176.3 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.009e-05/0.3292, allocations: 184.2 kB / 1.125 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3294, allocations: 307.8 kB / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.3294, allocations: 108.9 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.3295, allocations: 176.3 kB / 1.125 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.3296, allocations: 101 kB / 1.126 GB, free: 9.859 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.3297, allocations: 200.1 kB / 1.126 GB, free: 9.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.3298, allocations: 101 kB / 1.126 GB, free: 9.551 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.3298, allocations: 79.28 kB / 1.126 GB, free: 9.473 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3298, allocations: 0 / 1.126 GB, free: 9.473 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002301/0.33, allocations: 4 kB / 1.126 GB, free: 9.469 MB / 1.076 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.0003214/0.3304, allocations: 189 kB / 1.126 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.3304, allocations: 15.92 kB / 1.126 GB, free: 9.258 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3305, allocations: 4.062 kB / 1.126 GB, free: 9.254 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-06/0.3305, allocations: 0 / 1.126 GB, free: 9.254 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3309, allocations: 468.1 kB / 1.127 GB, free: 8.797 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3312, allocations: 176.8 kB / 1.127 GB, free: 8.598 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.3312, allocations: 55.36 kB / 1.127 GB, free: 8.523 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.718e-05/0.3312, allocations: 4 kB / 1.127 GB, free: 8.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.3313, allocations: 8.5 kB / 1.127 GB, free: 8.512 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3313, allocations: 0 / 1.127 GB, free: 8.512 MB / 1.076 GB Notification: Performance of Templates: time 0.00285/0.3341, allocations: 464 kB / 1.127 GB, free: 8.07 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.330513179069385]