Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001669/0.001669, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002124/0.002124, allocations: 219.4 kB / 22.26 MB, free: 5.121 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7706 GB, free: 4.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002072/0.002072, allocations: 66.38 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.404, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002647/0.4066, allocations: 1.3 MB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.408, allocations: 0.8181 MB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.408, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.408, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.4083, allocations: 15.92 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.4085, allocations: 48.62 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.414e-05/0.4086, allocations: 19.97 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.4086, allocations: 7.938 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.134e-05/0.4087, allocations: 15.92 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.4088, allocations: 7.984 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.4088, allocations: 7.938 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.4089, allocations: 4 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.4089, allocations: 15.91 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.409, allocations: 4 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.4091, allocations: 27.86 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4091, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4091, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.4091, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 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.0004346/0.4095, allocations: 256.2 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4096, allocations: 12.03 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8e-05/0.4097, allocations: 76.22 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4098, allocations: 193.7 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/0.4099, allocations: 158.9 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.41, allocations: 150.9 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.4101, allocations: 103.4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.4102, allocations: 79.47 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.4102, allocations: 158.5 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.4103, allocations: 150.6 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.4104, allocations: 158.5 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.4107, allocations: 428.9 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.4109, allocations: 169.2 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.4109, allocations: 80.14 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.4109, allocations: 79.28 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.454e-05/0.411, allocations: 113.8 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.411, allocations: 0 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.4111, allocations: 33.58 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.4112, allocations: 126.7 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.4113, allocations: 105.8 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4114, allocations: 29.7 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.4114, allocations: 84.14 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.4114, allocations: 3.938 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.4115, allocations: 17.7 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4116, allocations: 314.8 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.4116, allocations: 4 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.4116, allocations: 7.984 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.4117, allocations: 16.95 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4117, allocations: 0 / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001275/0.4118, allocations: 49.62 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4118, allocations: 4 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4118, allocations: 7.938 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4119, allocations: 0 / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.4119, allocations: 0 / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4119, allocations: 7.922 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.412, allocations: 256 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.4121, allocations: 11.98 kB / 1.289 GB, free: 5.629 MB / 0.9825 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.0001345/0.4122, allocations: 185.2 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.4123, allocations: 108.9 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.4123, allocations: 116.3 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-05/0.4124, allocations: 180.2 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.583e-05/0.4125, allocations: 180.2 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.773e-05/0.4126, allocations: 184.3 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.4128, allocations: 376.3 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.427e-05/0.4129, allocations: 104.9 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.4129, allocations: 101 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/0.413, allocations: 180.2 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/0.4131, allocations: 184.2 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.077e-05/0.4132, allocations: 184.2 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.447e-05/0.4132, allocations: 184.4 kB / 1.291 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.4134, allocations: 307.8 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.4135, allocations: 113 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.576e-05/0.4136, allocations: 184.2 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.4137, allocations: 104.9 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.4137, allocations: 176.3 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/0.4138, allocations: 108.9 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.4139, allocations: 87.27 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4139, allocations: 0 / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002482/0.4141, allocations: 7.938 kB / 1.292 GB, free: 2.145 MB / 0.9825 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.0002728/0.4144, allocations: 191.9 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.4145, allocations: 4 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4145, allocations: 0 / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4145, allocations: 0 / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.4148, allocations: 467.7 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.4152, allocations: 168.8 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.4155, allocations: 0.6729 MB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.4155, allocations: 4 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.4155, allocations: 7.438 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4155, allocations: 0 / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.002834/0.4183, allocations: 446.9 kB / 1.294 GB, free: 188 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.153538289945573]