Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001304/0.001304, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002362/0.002362, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.276/3.276, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [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.002245/0.002245, allocations: 67.8 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3476, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00236/0.35, allocations: 1.264 MB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3513, allocations: 0.8145 MB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.3513, allocations: 0 / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.3513, allocations: 0 / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3515, allocations: 11.92 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.944e-05/0.3516, allocations: 11.94 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.3517, allocations: 7.984 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.3517, allocations: 3.984 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.3517, allocations: 8 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3519, allocations: 7.984 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3519, allocations: 0 / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.593e-05/0.352, allocations: 11.94 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.352, allocations: 4 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.352, allocations: 3.938 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.3521, allocations: 19.91 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3521, allocations: 0 / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.909e-06/0.3521, allocations: 4 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3521, allocations: 0 / 1.356 GB, free: 5.77 MB / 1.045 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.0003045/0.3524, allocations: 242.4 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3525, allocations: 8.031 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.3525, allocations: 76.22 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3527, allocations: 185.8 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.3527, allocations: 150.9 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3528, allocations: 150.9 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.707e-05/0.3529, allocations: 113.5 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.3529, allocations: 75.47 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.353, allocations: 162.4 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.3531, allocations: 150.6 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.3531, allocations: 154.5 kB / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.3534, allocations: 421 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.496e-05/0.3535, allocations: 165.1 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.3536, allocations: 88.12 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.3536, allocations: 79.28 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.3537, allocations: 105.8 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3537, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.695e-05/0.3537, allocations: 33.64 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.3538, allocations: 130.7 kB / 1.359 GB, free: 3.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3539, allocations: 93.86 kB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3539, allocations: 29.64 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.354, allocations: 84.14 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.354, allocations: 0 / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.354, allocations: 17.84 kB / 1.359 GB, free: 2.926 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3541, allocations: 310.8 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.3541, allocations: 0 / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.3542, allocations: 7.922 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.3542, allocations: 75.28 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/0.3542, allocations: 79.28 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.364e-05/0.3543, allocations: 25.7 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.3543, allocations: 83.28 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.004e-05/0.3544, allocations: 83.25 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.491e-05/0.3544, allocations: 158.5 kB / 1.36 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.099e-05/0.3545, allocations: 75.84 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.469e-05/0.3545, allocations: 154.5 kB / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3547, allocations: 83.27 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3547, allocations: 75.28 kB / 1.36 GB, free: 1.719 MB / 1.045 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 (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 prepare postOptimizeDAE: time 0.0001422/0.3548, allocations: 269 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.3549, allocations: 105 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.355, allocations: 108.3 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.449e-05/0.3551, allocations: 192.2 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.365e-05/0.3551, allocations: 180.3 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.229e-05/0.3552, allocations: 184.2 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.3555, allocations: 380.3 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-05/0.3555, allocations: 101 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.3556, allocations: 104.9 kB / 1.362 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.194e-05/0.3556, allocations: 176.3 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/0.3557, allocations: 184.1 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.458e-05/0.3558, allocations: 184.3 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.88e-05/0.3559, allocations: 184.2 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.356, allocations: 303.7 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.3561, allocations: 104.9 kB / 1.363 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.3562, allocations: 196.2 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.3563, allocations: 105 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.3563, allocations: 180.2 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.3564, allocations: 101 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.3564, allocations: 83.22 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3564, allocations: 0 / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002908/0.3567, allocations: 7.938 kB / 1.363 GB, free: 14.16 MB / 1.061 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.0003381/0.3571, allocations: 188.8 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.359e-05/0.3571, allocations: 11.94 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3571, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3571, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.3575, allocations: 458 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.3578, allocations: 186.7 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.3581, allocations: 0.6768 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.3581, allocations: 7.438 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3581, allocations: 0 / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of Templates: time 0.001925/0.36, allocations: 481 kB / 1.365 GB, free: 12.12 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.534079353004927]