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.00158/0.00158, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001611/0.001611, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.127/3.127, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 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_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.002164/0.002164, allocations: 71.03 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3355, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002822/0.3383, allocations: 1.284 MB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3398, allocations: 0.8219 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.3398, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.3399, allocations: 3.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.3401, allocations: 8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.3403, allocations: 55.11 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.3404, allocations: 23.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.3405, allocations: 7.984 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.3405, allocations: 11.98 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.3406, allocations: 7.938 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.3407, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.3407, allocations: 7.984 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.3408, allocations: 11.98 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.3408, allocations: 7.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.3409, allocations: 27.78 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3409, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3409, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3409, allocations: 0 / 1.329 GB, free: 15.52 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.000424/0.3414, allocations: 258.4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3414, allocations: 8.031 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.3415, allocations: 76.22 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3417, allocations: 189.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.311e-05/0.3418, allocations: 150.9 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.3418, allocations: 162.9 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.702e-05/0.3419, allocations: 105.5 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.342, allocations: 75.47 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.342, allocations: 158.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/0.3421, allocations: 158.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.3422, allocations: 154.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.3426, allocations: 397.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3427, allocations: 177.1 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.3427, allocations: 80.14 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.3428, allocations: 75.28 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.243e-05/0.3428, allocations: 121.7 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3428, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.862e-05/0.3429, allocations: 33.64 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.343, allocations: 126.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3432, allocations: 105.8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3432, allocations: 25.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.3432, allocations: 88.14 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.3432, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.3433, allocations: 17.7 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3434, allocations: 314.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.3435, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.3435, allocations: 37.69 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.3435, allocations: 20.8 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3435, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000146/0.3437, allocations: 41.67 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3437, allocations: 12.12 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3437, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.3437, allocations: 3.938 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.3437, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3437, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3439, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3439, allocations: 4 kB / 1.332 GB, free: 12.21 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.00012/0.344, allocations: 185.6 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.3441, allocations: 112.9 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.939e-05/0.3442, allocations: 108.5 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.421e-05/0.3443, allocations: 192.1 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.493e-05/0.3444, allocations: 176.3 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.68e-05/0.3445, allocations: 180.2 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.3447, allocations: 356.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.262e-05/0.3448, allocations: 105 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.3448, allocations: 109 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.074e-05/0.3449, allocations: 180.3 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/0.345, allocations: 184.3 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.05e-05/0.3451, allocations: 180.2 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-05/0.3452, allocations: 184.2 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.3454, allocations: 307.8 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.3454, allocations: 112.9 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.3455, allocations: 184.2 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.3456, allocations: 105.2 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3457, allocations: 188.1 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.3458, allocations: 109 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.602e-05/0.3458, allocations: 83.28 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3458, allocations: 0 / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002484/0.3461, allocations: 4 kB / 1.335 GB, free: 8.742 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.0003116/0.3464, allocations: 192.2 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.809e-05/0.3465, allocations: 7.938 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3465, allocations: 0 / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.3465, allocations: 0 / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3469, allocations: 463.1 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.3472, allocations: 198.5 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.031e-05/0.3473, allocations: 59.34 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.3473, allocations: 11.44 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3473, allocations: 4.062 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of Templates: time 0.002169/0.3495, allocations: 0.5207 MB / 1.336 GB, free: 7.25 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.249641652218997]