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.001739/0.001739, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002277/0.002277, allocations: 207.6 kB / 22.99 MB, free: 4.965 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.522/1.522, 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.149/3.149, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.00208/0.00208, allocations: 76.95 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002745/0.3121, allocations: 1.279 MB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3133, allocations: 0.8184 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.3134, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.3134, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3136, allocations: 11.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.3138, allocations: 63.8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.3139, allocations: 27.84 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.3139, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.314, allocations: 11.98 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.3141, allocations: 11.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3141, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.3142, allocations: 7.984 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.3142, allocations: 7.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.3143, allocations: 8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 8.981e-05/0.3143, allocations: 23.84 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3143, allocations: 4 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3143, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3144, allocations: 4 kB / 1.329 GB, free: 15.56 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.0003361/0.3147, allocations: 254.3 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3147, allocations: 8.031 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.3148, allocations: 80.22 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.315, allocations: 189.7 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.315, allocations: 154.9 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.3151, allocations: 150.9 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.3152, allocations: 101.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.3152, allocations: 79.47 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.3153, allocations: 158.5 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/0.3154, allocations: 158.6 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.3155, allocations: 154.5 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.3158, allocations: 401.6 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3159, allocations: 169.1 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.3159, allocations: 80.14 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.3159, allocations: 75.28 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.316, allocations: 105.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.316, allocations: 7.938 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.413e-05/0.3161, allocations: 29.64 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.3162, allocations: 130.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.3163, allocations: 113.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3163, allocations: 29.69 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3164, allocations: 84.14 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.3164, allocations: 3.938 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3164, allocations: 17.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3165, allocations: 310.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.3166, allocations: 8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/0.3166, allocations: 37.69 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.3166, allocations: 20.89 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3166, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001469/0.3168, allocations: 41.69 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3168, allocations: 9.719 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3168, allocations: 3.938 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3168, allocations: 3.938 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3168, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.3168, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.3169, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3169, allocations: 0 / 1.332 GB, free: 12.26 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.0001207/0.317, allocations: 193.7 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.3171, allocations: 108.9 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.3172, allocations: 104.5 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.304e-05/0.3173, allocations: 184.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.029e-05/0.3174, allocations: 188.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.108e-05/0.3174, allocations: 176.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.3177, allocations: 356.8 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-05/0.3177, allocations: 109 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.3178, allocations: 101 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.673e-05/0.3179, allocations: 180.4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.906e-05/0.318, allocations: 188.3 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.503e-05/0.318, allocations: 184.2 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.412e-05/0.3181, allocations: 184.2 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3183, allocations: 307.8 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.3183, allocations: 101 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.3184, allocations: 188.2 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.3185, allocations: 105 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.3186, allocations: 184.1 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.3187, allocations: 105.2 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.729e-05/0.3187, allocations: 87.27 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3187, allocations: 0 / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002238/0.319, allocations: 11.94 kB / 1.335 GB, free: 8.785 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.0002877/0.3192, allocations: 190.5 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.835e-05/0.3193, allocations: 4 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3193, allocations: 0 / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.3193, allocations: 3.938 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3197, allocations: 455.7 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.32, allocations: 202.6 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.781e-05/0.3201, allocations: 63.34 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.3201, allocations: 7.438 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3201, allocations: 0 / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of Templates: time 0.00215/0.3222, allocations: 0.5269 MB / 1.336 GB, free: 7.293 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.271800735965371]