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.001355/0.001355, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001432/0.001432, allocations: 210.9 kB / 22.99 MB, free: 4.957 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.144/3.144, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.002055/0.002055, allocations: 66.7 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002428/0.3434, allocations: 1.286 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3446, allocations: 0.8184 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.3446, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.3447, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.3449, allocations: 3.938 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3451, allocations: 62.11 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.3452, allocations: 19.98 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.3452, allocations: 7.922 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.3453, allocations: 15.92 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.3454, allocations: 5.719 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3454, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.611e-05/0.3454, allocations: 7.984 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.3455, allocations: 7.984 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.3455, allocations: 11.94 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.438e-05/0.3456, allocations: 23.91 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3456, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3456, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3456, allocations: 0 / 1.329 GB, free: 14.66 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.0003229/0.3459, allocations: 250.4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.346, allocations: 8.031 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.3461, allocations: 84.16 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3462, allocations: 181.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.3463, allocations: 158.9 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.3463, allocations: 150.9 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.3464, allocations: 105.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.3464, allocations: 79.47 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/0.3465, allocations: 162.5 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.3466, allocations: 154.6 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.3466, allocations: 150.6 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.3469, allocations: 405.5 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.347, allocations: 169.1 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.3471, allocations: 80.14 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.3471, allocations: 75.28 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.3472, allocations: 113.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 3.076e-06/0.3472, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8e-05/0.3472, allocations: 37.58 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.3473, allocations: 126.7 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3474, allocations: 105.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3474, allocations: 29.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3475, allocations: 80.14 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.3475, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3475, allocations: 17.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3477, allocations: 314.8 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.3477, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.3477, allocations: 33.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.3478, allocations: 20.94 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3478, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.3479, allocations: 49.62 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3479, allocations: 7.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3479, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3479, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3479, allocations: 3.938 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3479, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.093e-05/0.348, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.348, allocations: 4.031 kB / 1.332 GB, free: 11.36 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.0001077/0.3481, allocations: 185.7 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.3482, allocations: 108.9 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.3483, allocations: 112.4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.442e-05/0.3483, allocations: 184.2 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.583e-05/0.3484, allocations: 180.5 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.469e-05/0.3485, allocations: 180.3 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3487, allocations: 360.9 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-05/0.3488, allocations: 108.9 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.3488, allocations: 101 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.993e-05/0.3489, allocations: 192.3 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.857e-05/0.349, allocations: 180.3 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.422e-05/0.349, allocations: 180.3 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-05/0.3491, allocations: 188.1 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3493, allocations: 307.8 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.3493, allocations: 101 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.3494, allocations: 188.2 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.3495, allocations: 104.9 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.3496, allocations: 188.2 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.3496, allocations: 104.9 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.3497, allocations: 83.28 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3497, allocations: 4 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000232/0.3499, allocations: 4 kB / 1.336 GB, free: 7.891 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.0002927/0.3502, allocations: 184.8 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.744e-05/0.3503, allocations: 7.984 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3503, allocations: 0 / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3503, allocations: 0 / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3507, allocations: 459.7 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.351, allocations: 182.6 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.834e-05/0.351, allocations: 59.3 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.3511, allocations: 4 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.3511, allocations: 7.438 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3511, allocations: 0 / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of Templates: time 0.003003/0.3541, allocations: 460 kB / 1.337 GB, free: 6.516 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 -s gbode -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: 8.462050368994824]