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.00133/0.00133, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001463/0.001463, allocations: 158 kB / 23.01 MB, free: 4.945 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.952/2.952, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002634/0.002634, allocations: 67.91 kB / 0.982 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.036, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00191/1.038, allocations: 1.265 MB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008694/1.039, allocations: 0.8054 MB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/1.039, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/1.039, allocations: 3.938 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002317/1.039, allocations: 16.78 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.825e-05/1.039, allocations: 14.47 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.304e-05/1.039, allocations: 2.688 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/1.039, allocations: 6.094 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/1.039, allocations: 6.578 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/1.039, allocations: 5.766 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/1.039, allocations: 2.812 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.651e-05/1.039, allocations: 6.719 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/1.039, allocations: 10.17 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/1.039, allocations: 3.938 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.561e-05/1.039, allocations: 9.844 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.039, allocations: 0 / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.039, allocations: 4 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.849e-06/1.039, allocations: 0 / 1.156 GB, free: 31.84 MB / 1.076 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.0002253/1.04, allocations: 239 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/1.04, allocations: 11.19 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/1.04, allocations: 76.22 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.346e-05/1.04, allocations: 192 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/1.04, allocations: 150.9 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/1.04, allocations: 153.9 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.757e-05/1.04, allocations: 101.5 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.04, allocations: 79.41 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/1.04, allocations: 158.5 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/1.04, allocations: 157.6 kB / 1.157 GB, free: 30.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.066e-05/1.04, allocations: 150.6 kB / 1.157 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/1.04, allocations: 399.9 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.65e-05/1.04, allocations: 168.1 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/1.04, allocations: 84.08 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/1.04, allocations: 75.28 kB / 1.158 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.04, allocations: 112.9 kB / 1.158 GB, free: 29.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.04, allocations: 0 / 1.158 GB, free: 29.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.618e-05/1.04, allocations: 29.64 kB / 1.158 GB, free: 29.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.04, allocations: 129.5 kB / 1.158 GB, free: 29.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/1.04, allocations: 103.8 kB / 1.158 GB, free: 29.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/1.04, allocations: 25.7 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/1.04, allocations: 80.14 kB / 1.159 GB, free: 29.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/1.04, allocations: 2.969 kB / 1.159 GB, free: 29.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/1.04, allocations: 13.72 kB / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/1.04, allocations: 313.5 kB / 1.159 GB, free: 28.78 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/1.04, allocations: 3.938 kB / 1.159 GB, free: 28.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/1.04, allocations: 25.7 kB / 1.159 GB, free: 28.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.34e-05/1.04, allocations: 81.59 kB / 1.159 GB, free: 28.67 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/1.04, allocations: 75.44 kB / 1.159 GB, free: 28.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.407e-05/1.041, allocations: 36.75 kB / 1.159 GB, free: 28.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.041, allocations: 80.38 kB / 1.159 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.041, allocations: 82 kB / 1.159 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/1.041, allocations: 158.4 kB / 1.159 GB, free: 28.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-05/1.041, allocations: 87.09 kB / 1.159 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/1.041, allocations: 157.8 kB / 1.16 GB, free: 28.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/1.041, allocations: 78.03 kB / 1.16 GB, free: 27.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/1.041, allocations: 75.28 kB / 1.16 GB, free: 27.86 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 (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 5.434e-05/1.041, allocations: 263.1 kB / 1.16 GB, free: 27.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/1.041, allocations: 103.7 kB / 1.16 GB, free: 27.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/1.041, allocations: 115.4 kB / 1.16 GB, free: 27.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/1.041, allocations: 186.8 kB / 1.16 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/1.041, allocations: 176.3 kB / 1.161 GB, free: 27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/1.041, allocations: 183.2 kB / 1.161 GB, free: 26.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/1.041, allocations: 355.2 kB / 1.161 GB, free: 26.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.041, allocations: 105 kB / 1.161 GB, free: 26.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/1.041, allocations: 107.9 kB / 1.161 GB, free: 26.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.011e-05/1.041, allocations: 179.6 kB / 1.161 GB, free: 26.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/1.041, allocations: 186.8 kB / 1.162 GB, free: 25.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-05/1.041, allocations: 176.3 kB / 1.162 GB, free: 25.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.587e-05/1.041, allocations: 187.1 kB / 1.162 GB, free: 25.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.935e-05/1.041, allocations: 306.2 kB / 1.162 GB, free: 25.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/1.041, allocations: 107.5 kB / 1.162 GB, free: 25.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/1.041, allocations: 178.9 kB / 1.163 GB, free: 24.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/1.041, allocations: 108.3 kB / 1.163 GB, free: 24.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/1.041, allocations: 186.9 kB / 1.163 GB, free: 24.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/1.041, allocations: 104.9 kB / 1.163 GB, free: 24.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.215e-05/1.041, allocations: 77.78 kB / 1.163 GB, free: 24.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.041, allocations: 0 / 1.163 GB, free: 24.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002542/1.042, allocations: 2.75 kB / 1.163 GB, free: 24.4 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.0002417/1.042, allocations: 190.8 kB / 1.163 GB, free: 24.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.4e-05/1.042, allocations: 6.562 kB / 1.163 GB, free: 24.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.042, allocations: 0 / 1.163 GB, free: 24.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/1.042, allocations: 0 / 1.163 GB, free: 24.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/1.042, allocations: 462.3 kB / 1.164 GB, free: 23.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/1.043, allocations: 164.9 kB / 1.164 GB, free: 23.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/1.043, allocations: 60.75 kB / 1.164 GB, free: 23.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.299e-05/1.043, allocations: 6.5 kB / 1.164 GB, free: 23.53 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/1.043, allocations: 8.5 kB / 1.164 GB, free: 23.52 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/1.043, allocations: 0 / 1.164 GB, free: 23.52 MB / 1.076 GB Notification: Performance of Templates: time 0.002482/1.045, allocations: 336.7 kB / 1.164 GB, free: 23.46 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.045495730009861]