Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001687/0.001687, allocations: 102.1 kB / 19.7 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.002058/0.002058, allocations: 223.5 kB / 23.01 MB, free: 4.609 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.233/3.233, allocations: 0.49 GB / 0.7958 GB, free: 33.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [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: 69.39 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3258, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002397/0.3282, allocations: 1.275 MB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3295, allocations: 0.8067 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.3295, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.3295, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.3297, allocations: 19.91 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.02e-05/0.3298, allocations: 4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.3299, allocations: 7.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.3299, allocations: 3.984 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.3299, allocations: 8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3301, allocations: 7.984 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.3301, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.037e-05/0.3301, allocations: 11.94 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.3302, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.3302, allocations: 3.984 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 7.61e-05/0.3303, allocations: 11.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3303, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3303, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3303, allocations: 0 / 1.329 GB, free: 15.3 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.000304/0.3306, allocations: 242.5 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3306, allocations: 8.031 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.3307, allocations: 80.22 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.3309, allocations: 189.7 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.3309, allocations: 154.9 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.331, allocations: 150.9 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.856e-05/0.3311, allocations: 101.5 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.3311, allocations: 79.41 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.3312, allocations: 162.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.3312, allocations: 150.6 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.3313, allocations: 150.6 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3316, allocations: 424.9 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.3317, allocations: 173.1 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.3318, allocations: 84.19 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3318, allocations: 75.28 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.3319, allocations: 105.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3319, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.287e-05/0.3319, allocations: 41.58 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.332, allocations: 134.7 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.3321, allocations: 93.86 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3321, allocations: 25.7 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.3322, allocations: 80.14 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.3322, allocations: 0 / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.3322, allocations: 9.719 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3323, allocations: 318.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-06/0.3324, allocations: 4.125 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.3324, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.3324, allocations: 79.27 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-05/0.3324, allocations: 75.28 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.118e-05/0.3325, allocations: 33.64 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.3326, allocations: 79.28 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-05/0.3326, allocations: 79.22 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.502e-05/0.3327, allocations: 154.6 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/0.3327, allocations: 83.25 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.323e-05/0.3328, allocations: 154.6 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.3329, allocations: 87.2 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.3329, allocations: 75.28 kB / 1.333 GB, free: 11.25 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 (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 prepare postOptimizeDAE: time 0.0001432/0.3331, allocations: 256.9 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.3332, allocations: 112.9 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.3332, allocations: 108.3 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.699e-05/0.3333, allocations: 188.3 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.39e-05/0.3334, allocations: 180.2 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.22e-05/0.3335, allocations: 180.3 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3337, allocations: 380.2 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.869e-05/0.3338, allocations: 109 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.3338, allocations: 101 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.211e-05/0.3339, allocations: 180.2 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/0.334, allocations: 188.1 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.851e-05/0.3341, allocations: 184.2 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.437e-05/0.3342, allocations: 188.2 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.3343, allocations: 303.8 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.3344, allocations: 105 kB / 1.336 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/0.3345, allocations: 188.1 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.3346, allocations: 105 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.3347, allocations: 188.2 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.3347, allocations: 104.9 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.3348, allocations: 79.28 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3348, allocations: 0 / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002668/0.335, allocations: 3.938 kB / 1.336 GB, free: 7.68 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.0003235/0.3354, allocations: 200 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.986e-05/0.3354, allocations: 4 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3354, allocations: 0 / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.3354, allocations: 0 / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3358, allocations: 459.6 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.3361, allocations: 186.7 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3364, allocations: 0.6768 MB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.3364, allocations: 7.438 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3364, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of Templates: time 0.001915/0.3383, allocations: 483.4 kB / 1.338 GB, free: 5.629 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.31568030299968]