Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001434/0.001434, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001863/0.001863, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.785 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.445/3.445, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [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.002172/0.002172, allocations: 70.89 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4039, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002653/0.4065, allocations: 1.289 MB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4079, allocations: 0.8219 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.4079, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.408, allocations: 4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.4082, allocations: 11.88 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.4084, allocations: 63.72 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.4085, allocations: 15.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.4085, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.4086, allocations: 11.94 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.4087, allocations: 19.91 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.4087, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.4087, allocations: 4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.4088, allocations: 8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.4088, allocations: 11.97 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.4089, allocations: 19.86 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4089, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4089, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4089, allocations: 0 / 1.328 GB, free: 15.52 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.0003199/0.4092, allocations: 254.4 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4093, allocations: 8.031 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.4093, allocations: 76.22 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4095, allocations: 189.8 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/0.4095, allocations: 150.9 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.4096, allocations: 170.9 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.355e-05/0.4097, allocations: 101.5 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.4097, allocations: 75.47 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.4098, allocations: 158.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.975e-05/0.4099, allocations: 154.6 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.293e-05/0.4099, allocations: 150.6 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.4102, allocations: 401.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4104, allocations: 177.1 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.4104, allocations: 80.14 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.4104, allocations: 79.22 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.4105, allocations: 113.8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4105, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.302e-05/0.4106, allocations: 37.58 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.4107, allocations: 130.6 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.4108, allocations: 109.8 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4108, allocations: 25.7 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.4108, allocations: 84.14 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.4108, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.4109, allocations: 17.72 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.411, allocations: 314.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.411, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/0.4111, allocations: 37.7 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.4111, allocations: 20.84 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4111, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.4112, allocations: 37.64 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4112, allocations: 8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4113, allocations: 7.969 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4113, allocations: 3.938 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.4113, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4113, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.4114, allocations: 4.125 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4114, allocations: 4 kB / 1.331 GB, free: 12.21 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.0001136/0.4115, allocations: 185.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.4116, allocations: 112.9 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.476e-05/0.4117, allocations: 108.4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.502e-05/0.4117, allocations: 184.2 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-05/0.4118, allocations: 180.2 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.395e-05/0.4119, allocations: 176.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.4121, allocations: 356.9 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.587e-05/0.4122, allocations: 108.9 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.4122, allocations: 105.1 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-05/0.4123, allocations: 188.2 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.4124, allocations: 188.3 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-05/0.4124, allocations: 176.3 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.325e-05/0.4125, allocations: 184.1 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.4127, allocations: 311.8 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.4127, allocations: 101 kB / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.4128, allocations: 180.3 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.4129, allocations: 108.9 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.413, allocations: 188.1 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.413, allocations: 112.9 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.4131, allocations: 91.47 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4131, allocations: 0 / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002232/0.4133, allocations: 4 kB / 1.334 GB, free: 8.734 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.0002322/0.4135, allocations: 182.5 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.058e-05/0.4136, allocations: 7.984 kB / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4136, allocations: 0 / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.4136, allocations: 4.062 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.414, allocations: 459.7 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.4143, allocations: 176.8 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.4143, allocations: 55.36 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.4144, allocations: 4 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.4144, allocations: 7.438 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4144, allocations: 0 / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of Templates: time 0.003019/0.4174, allocations: 462.2 kB / 1.335 GB, free: 7.387 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.500012228265405]