Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00129/0.00129, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001418/0.001418, allocations: 155.1 kB / 23.01 MB, free: 4.949 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.71/2.71, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.003181/0.003181, allocations: 68.17 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3463, allocations: 169.9 MB / 1.117 GB, free: 2.492 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00249/0.3488, allocations: 1.288 MB / 1.119 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3499, allocations: 0.8181 MB / 1.12 GB, free: 384 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.35, allocations: 0 / 1.12 GB, free: 384 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.35, allocations: 7.938 kB / 1.12 GB, free: 376 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.3502, allocations: 19.97 kB / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.3504, allocations: 44.62 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/0.3505, allocations: 27.86 kB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.3505, allocations: 0 / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.3506, allocations: 15.97 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.3507, allocations: 4 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3507, allocations: 0 / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.2e-05/0.3507, allocations: 8 kB / 1.12 GB, free: 256 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.3508, allocations: 15.92 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.3508, allocations: 7.984 kB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.561e-05/0.3509, allocations: 15.92 kB / 1.12 GB, free: 216 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3509, allocations: 3.938 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3509, allocations: 0 / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3509, allocations: 3.938 kB / 1.12 GB, free: 208 kB / 1.061 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.0003339/0.3512, allocations: 258.3 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3513, allocations: 8.031 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.3513, allocations: 80.22 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3515, allocations: 189.8 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/0.3515, allocations: 158.9 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.3516, allocations: 158.9 kB / 1.121 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.3517, allocations: 101.5 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.3517, allocations: 75.47 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.3518, allocations: 158.5 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.3519, allocations: 150.6 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.3519, allocations: 154.5 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.3522, allocations: 401.6 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3523, allocations: 169.1 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.3524, allocations: 84.14 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3524, allocations: 75.28 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.3525, allocations: 113.8 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3525, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.791e-05/0.3526, allocations: 33.64 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.3526, allocations: 126.7 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3528, allocations: 105.8 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3528, allocations: 25.7 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.3528, allocations: 84.14 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.3528, allocations: 0 / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3529, allocations: 21.7 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.353, allocations: 310.8 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.353, allocations: 7.938 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.3531, allocations: 41.69 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/0.3531, allocations: 20.8 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3531, allocations: 0 / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/0.3532, allocations: 37.69 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3532, allocations: 8 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3533, allocations: 0 / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3533, allocations: 3.938 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3533, allocations: 0 / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3533, allocations: 0 / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3534, allocations: 8.375 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3534, allocations: 4 kB / 1.123 GB, free: 12.9 MB / 1.076 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.0001195/0.3536, allocations: 189.1 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.3536, allocations: 112.9 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.3537, allocations: 104.5 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-05/0.3538, allocations: 192.2 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.044e-05/0.3539, allocations: 188.2 kB / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.526e-05/0.3539, allocations: 176.3 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3542, allocations: 356.8 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.948e-05/0.3542, allocations: 109 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.3543, allocations: 108.9 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-05/0.3544, allocations: 176.3 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.3544, allocations: 180.3 kB / 1.125 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.35e-05/0.3545, allocations: 184.2 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.096e-05/0.3546, allocations: 184.2 kB / 1.125 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3548, allocations: 307.8 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.3549, allocations: 101 kB / 1.125 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/0.355, allocations: 188.2 kB / 1.125 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.3551, allocations: 101 kB / 1.126 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.3551, allocations: 184.1 kB / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3552, allocations: 105 kB / 1.126 GB, free: 9.539 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.3552, allocations: 91.27 kB / 1.126 GB, free: 9.449 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3552, allocations: 0 / 1.126 GB, free: 9.449 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002354/0.3555, allocations: 4 kB / 1.126 GB, free: 9.445 MB / 1.076 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.0002766/0.3558, allocations: 192.1 kB / 1.126 GB, free: 9.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.3558, allocations: 15.92 kB / 1.126 GB, free: 9.234 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3558, allocations: 3.938 kB / 1.126 GB, free: 9.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3558, allocations: 0 / 1.126 GB, free: 9.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3562, allocations: 463.8 kB / 1.127 GB, free: 8.773 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.3565, allocations: 172.8 kB / 1.127 GB, free: 8.578 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/0.3566, allocations: 59.34 kB / 1.127 GB, free: 8.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.3566, allocations: 4 kB / 1.127 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.3566, allocations: 8.5 kB / 1.127 GB, free: 8.488 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.3566, allocations: 0 / 1.127 GB, free: 8.488 MB / 1.076 GB Notification: Performance of Templates: time 0.002749/0.3593, allocations: 475.3 kB / 1.127 GB, free: 8.062 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.339203462004662]