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.001887/0.001887, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002297/0.002297, allocations: 219 kB / 23.05 MB, free: 4.844 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.508/3.508, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.002018/0.002018, allocations: 71.66 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3801, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00308/0.3832, allocations: 1.297 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3847, allocations: 0.8297 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.3848, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.3848, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.385, allocations: 11.92 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.3852, allocations: 55.73 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.3853, allocations: 19.92 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.3854, allocations: 3.984 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.3854, allocations: 12 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3855, allocations: 15.92 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3855, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.783e-05/0.3856, allocations: 11.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.3856, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.3857, allocations: 11.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.3858, allocations: 19.92 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3858, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3858, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3858, allocations: 0 / 1.329 GB, free: 14.62 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.0003754/0.3862, allocations: 250.3 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3862, allocations: 12.03 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.3863, allocations: 80.22 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3865, allocations: 193.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.3865, allocations: 150.9 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.3866, allocations: 154.9 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.3867, allocations: 109.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.448e-05/0.3868, allocations: 75.47 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.3868, allocations: 158.4 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-05/0.3869, allocations: 150.6 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-05/0.387, allocations: 150.6 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.3874, allocations: 417.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3875, allocations: 173.1 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.3876, allocations: 80.14 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.3876, allocations: 75.28 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.489e-05/0.3877, allocations: 109.8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.3877, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.816e-05/0.3878, allocations: 29.64 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.3879, allocations: 130.7 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.388, allocations: 105.9 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.388, allocations: 25.7 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.3881, allocations: 84.12 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.3881, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.3882, allocations: 21.66 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3883, allocations: 314.8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.3883, allocations: 3.984 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.3884, allocations: 33.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.3885, allocations: 16.86 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3885, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001478/0.3886, allocations: 41.69 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3886, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3886, allocations: 4.125 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3886, allocations: 3.938 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3886, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3886, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3888, allocations: 11.92 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3888, allocations: 0 / 1.332 GB, free: 11.32 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.0001392/0.389, allocations: 185.7 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.389, allocations: 108.9 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.3891, allocations: 116.4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-05/0.3892, allocations: 184.1 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.151e-05/0.3893, allocations: 180.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/0.3894, allocations: 184.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.3897, allocations: 360.9 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.406e-05/0.3898, allocations: 101 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.3899, allocations: 105.1 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-05/0.39, allocations: 184.3 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.3901, allocations: 188.2 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.647e-05/0.3902, allocations: 180.2 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001046/0.3903, allocations: 184.2 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3905, allocations: 307.7 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.3905, allocations: 116.9 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3907, allocations: 176.3 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3908, allocations: 105 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3909, allocations: 188.1 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.391, allocations: 101 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.493e-05/0.391, allocations: 87.27 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.391, allocations: 0 / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004076/0.3914, allocations: 4 kB / 1.336 GB, free: 7.844 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.0002828/0.3917, allocations: 186.5 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.3918, allocations: 7.938 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3918, allocations: 4 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3918, allocations: 0 / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.3924, allocations: 460.3 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.3927, allocations: 201.6 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.996e-05/0.3928, allocations: 59.34 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.3928, allocations: 7.438 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3928, allocations: 0 / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of Templates: time 0.002444/0.3952, allocations: 0.5292 MB / 1.337 GB, free: 6.352 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/jenkins1/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: 11.932779422961175]