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.001602/0.001602, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001929/0.001929, allocations: 216.6 kB / 23.04 MB, free: 4.863 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.001997/0.001997, allocations: 69.66 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002409/0.3222, allocations: 1.262 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3234, allocations: 0.8068 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.3235, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.3235, allocations: 4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.3237, allocations: 15.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.16e-05/0.3238, allocations: 7.984 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.3239, allocations: 15.86 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.3239, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.68e-05/0.3239, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.324, allocations: 7.984 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3241, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.672e-05/0.3241, allocations: 4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.3241, allocations: 7.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.3242, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 8.754e-05/0.3243, allocations: 15.86 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3243, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3243, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3243, allocations: 0 / 1.329 GB, free: 14.82 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.0003609/0.3246, allocations: 242.4 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3247, allocations: 8.031 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/0.3247, allocations: 80.22 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3249, allocations: 185.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/0.325, allocations: 150.9 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.3251, allocations: 154.9 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.3252, allocations: 101.5 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.3252, allocations: 79.47 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.3253, allocations: 158.5 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.3253, allocations: 150.6 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.3254, allocations: 162.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.3257, allocations: 393.5 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.3258, allocations: 169.1 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.3259, allocations: 92.17 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.3259, allocations: 75.28 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.3259, allocations: 109.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3259, allocations: 3.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.326, allocations: 33.64 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.3261, allocations: 130.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3262, allocations: 93.86 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3262, allocations: 25.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.3263, allocations: 88.14 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.3263, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.3263, allocations: 9.719 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3264, allocations: 310.8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.3264, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.3265, allocations: 33.69 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.3265, allocations: 75.44 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/0.3265, allocations: 83.28 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.522e-05/0.3266, allocations: 33.64 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.3267, allocations: 79.28 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.3267, allocations: 79.22 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.39e-05/0.3268, allocations: 166.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-05/0.3268, allocations: 75.28 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-05/0.3269, allocations: 150.6 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.327, allocations: 87.2 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.327, allocations: 75.28 kB / 1.333 GB, free: 10.76 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.0001493/0.3272, allocations: 260.9 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.3273, allocations: 112.9 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.3273, allocations: 108.3 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.228e-05/0.3274, allocations: 188.2 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.741e-05/0.3275, allocations: 180.2 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.442e-05/0.3276, allocations: 180.3 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3278, allocations: 356.8 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/0.3279, allocations: 109 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.3279, allocations: 101 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.317e-05/0.328, allocations: 180.2 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.3281, allocations: 180.3 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-05/0.3282, allocations: 184.2 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.239e-05/0.3283, allocations: 192.2 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3284, allocations: 303.8 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.3285, allocations: 105 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.3286, allocations: 188.2 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.3287, allocations: 108.9 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.3288, allocations: 184.1 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.3288, allocations: 101 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.3289, allocations: 79.28 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3289, allocations: 0 / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002782/0.3291, allocations: 12.03 kB / 1.336 GB, free: 7.223 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.0002938/0.3294, allocations: 188.5 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.576e-05/0.3295, allocations: 4 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3295, allocations: 0 / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.506e-06/0.3295, allocations: 3.938 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.3299, allocations: 459.2 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.3302, allocations: 190.7 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.018e-05/0.3302, allocations: 59.34 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.3302, allocations: 15.38 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3302, allocations: 0 / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of Templates: time 0.002062/0.3323, allocations: 475.2 kB / 1.338 GB, free: 5.797 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.271523262839764]