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.001348/0.001348, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.00149/0.00149, allocations: 210.8 kB / 23.04 MB, free: 4.867 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.002025/0.002025, allocations: 66.62 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, 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): time 0.002441/0.3222, allocations: 1.28 MB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3235, allocations: 0.8339 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.3235, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3236, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.3238, allocations: 11.94 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.324, allocations: 43.92 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.2e-05/0.3241, allocations: 27.91 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.3241, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.3242, allocations: 8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.3243, allocations: 15.91 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3243, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.3244, allocations: 11.94 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.3244, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.3244, allocations: 11.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.3246, allocations: 23.91 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3246, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3246, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3246, allocations: 0 / 1.329 GB, free: 14.63 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.0003553/0.3249, allocations: 250.4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.325, allocations: 12.03 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.325, allocations: 80.22 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3252, allocations: 185.8 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/0.3252, allocations: 150.9 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.3253, allocations: 150.9 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.3254, allocations: 113.5 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.3255, allocations: 75.47 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.44e-05/0.3255, allocations: 154.5 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-05/0.3256, allocations: 154.6 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.3257, allocations: 154.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.326, allocations: 409.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3261, allocations: 169.1 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3261, allocations: 84.14 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.3262, allocations: 75.28 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/0.3263, allocations: 117.8 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3263, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.579e-05/0.3263, allocations: 29.64 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.3264, allocations: 126.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3265, allocations: 109.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3266, allocations: 25.7 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.3266, allocations: 84.12 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3266, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.3267, allocations: 21.66 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3268, allocations: 326.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.3268, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.3269, allocations: 33.7 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.3269, allocations: 20.84 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3269, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.3271, allocations: 37.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3271, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3271, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3271, allocations: 8.047 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3271, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3271, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.3272, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.3272, allocations: 3.938 kB / 1.332 GB, free: 11.33 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.0001165/0.3273, allocations: 185.7 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.3274, allocations: 105.2 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.3275, allocations: 116.4 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.392e-05/0.3276, allocations: 184.1 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.284e-05/0.3276, allocations: 180.3 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.602e-05/0.3277, allocations: 184.2 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.328, allocations: 360.9 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.687e-05/0.328, allocations: 101 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.3281, allocations: 104.9 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.3282, allocations: 184.4 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.3283, allocations: 188.2 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.288e-05/0.3284, allocations: 180.3 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.252e-05/0.3285, allocations: 188.2 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3286, allocations: 307.7 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.3287, allocations: 112.9 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.3289, allocations: 176.3 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.3289, allocations: 105 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.329, allocations: 188.1 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3291, allocations: 105 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.3291, allocations: 83.28 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3291, allocations: 0 / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002726/0.3294, allocations: 4 kB / 1.336 GB, free: 7.863 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.0003106/0.3297, allocations: 184.3 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.3298, allocations: 15.92 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3298, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3298, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.3302, allocations: 459.6 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.3305, allocations: 198.6 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.157e-05/0.3306, allocations: 63.34 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.3306, allocations: 7.438 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3306, allocations: 0 / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of Templates: time 0.002147/0.3327, allocations: 0.529 MB / 1.337 GB, free: 6.367 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/jenkins1/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: 11.222637043101713]