Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001748/0.001748, 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.002184/0.002184, allocations: 214 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.684/1.684, 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.391/3.391, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [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.002103/0.002103, allocations: 66.27 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3895, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002432/0.3919, allocations: 1.285 MB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3932, allocations: 0.8223 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.3932, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3933, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.3935, allocations: 15.91 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3937, allocations: 46.44 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.3938, allocations: 19.92 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3938, allocations: 4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.3939, allocations: 23.91 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.394, allocations: 13.48 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.394, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.394, allocations: 4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.3941, allocations: 11.97 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.3941, allocations: 7.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.3942, allocations: 23.91 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3942, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3942, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3942, allocations: 0 / 1.328 GB, free: 15.59 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.0003427/0.3945, allocations: 250.4 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3946, allocations: 12.03 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.3947, allocations: 76.22 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3948, allocations: 197.7 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.3949, allocations: 150.9 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.395, allocations: 154.9 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.395, allocations: 105.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.3951, allocations: 75.47 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.3951, allocations: 154.5 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/0.3952, allocations: 158.6 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.3953, allocations: 150.6 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.3956, allocations: 413.5 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3957, allocations: 177.1 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.3957, allocations: 80.14 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.3958, allocations: 75.28 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.3958, allocations: 105.8 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.3958, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.835e-05/0.3959, allocations: 33.64 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.396, allocations: 130.6 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3961, allocations: 105.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3961, allocations: 25.7 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.3962, allocations: 80.14 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.3962, allocations: 8 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3962, allocations: 21.7 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3963, allocations: 310.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.3964, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.3964, allocations: 37.69 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.3964, allocations: 12.86 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3964, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001175/0.3966, allocations: 41.62 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3966, allocations: 4.125 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3966, allocations: 8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3966, allocations: 3.938 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3966, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3966, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.869e-05/0.3967, allocations: 256 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3967, allocations: 4 kB / 1.331 GB, free: 12.29 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.0001436/0.3968, allocations: 189.6 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.3969, allocations: 112.9 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/0.397, allocations: 112.3 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.024e-05/0.3971, allocations: 184.2 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.331e-05/0.3972, allocations: 184.2 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-05/0.3972, allocations: 180.2 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3975, allocations: 356.9 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-05/0.3975, allocations: 112.9 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.3976, allocations: 101 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.3977, allocations: 176.4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-05/0.3977, allocations: 192.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.807e-05/0.3978, allocations: 180.3 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-05/0.3979, allocations: 184.1 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3981, allocations: 307.8 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.3981, allocations: 108.9 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.3982, allocations: 184.2 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3983, allocations: 108.9 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.3984, allocations: 180.2 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.3984, allocations: 105 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.3985, allocations: 91.2 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3985, allocations: 0 / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002379/0.3987, allocations: 7.984 kB / 1.334 GB, free: 8.805 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.00036/0.3991, allocations: 182.5 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.762e-05/0.3992, allocations: 8 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3992, allocations: 0 / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3992, allocations: 0 / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3996, allocations: 461 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.3999, allocations: 176.8 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.3999, allocations: 59.34 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.737e-05/0.4, allocations: 0 / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.4, allocations: 11.44 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4, allocations: 4.062 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of Templates: time 0.002902/0.4029, allocations: 460.3 kB / 1.335 GB, free: 7.43 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.529395543038845]