Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 109.7 kB / 18.84 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 189.7 kB / 22.1 MB, free: 5.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 250.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 495.8 MB / 0.783 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003129/0.003129, allocations: 66.92 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4576, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002773/0.4604, allocations: 1.255 MB / 1.308 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.4617, allocations: 0.795 MB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.4618, allocations: 4 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.4618, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.4621, allocations: 19.92 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.238e-05/0.4622, allocations: 3.984 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.985e-05/0.4622, allocations: 7.938 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.4623, allocations: 8 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.4623, allocations: 7.922 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.4625, allocations: 11.98 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.4625, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-05/0.4626, allocations: 4 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.4626, allocations: 4 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.4626, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.4627, allocations: 19.84 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4627, allocations: 4 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4628, allocations: 3.938 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4628, allocations: 0 / 1.309 GB, free: 15.7 MB / 1.014 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.000362/0.4631, allocations: 246.4 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4632, allocations: 8.031 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.4632, allocations: 80.22 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.4634, allocations: 177.8 kB / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.4635, allocations: 150.9 kB / 1.309 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.4636, allocations: 154.9 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.4637, allocations: 113.5 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.4638, allocations: 75.47 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.4638, allocations: 154.5 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.592e-05/0.4639, allocations: 150.6 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.464, allocations: 150.6 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.4644, allocations: 425 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4645, allocations: 169.1 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.4645, allocations: 84.19 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.4646, allocations: 75.28 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/0.4647, allocations: 109.8 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4647, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.4648, allocations: 37.58 kB / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.4648, allocations: 126.7 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.465, allocations: 101.8 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.465, allocations: 25.7 kB / 1.311 GB, free: 12.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.4651, allocations: 80.14 kB / 1.311 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/0.4651, allocations: 4.125 kB / 1.311 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.4651, allocations: 13.72 kB / 1.311 GB, free: 12.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4653, allocations: 310.8 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.4653, allocations: 4 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.4653, allocations: 0 / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.4653, allocations: 83.27 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-05/0.4654, allocations: 75.28 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.204e-05/0.4654, allocations: 29.64 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.4655, allocations: 92.03 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/0.4656, allocations: 79.22 kB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.4657, allocations: 150.6 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.4657, allocations: 79.22 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.64e-05/0.4658, allocations: 154.6 kB / 1.312 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.466, allocations: 83.2 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.466, allocations: 83.28 kB / 1.313 GB, free: 11.64 MB / 1.014 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.0001906/0.4662, allocations: 260.4 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.4663, allocations: 101 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.4664, allocations: 112.2 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.4665, allocations: 192.2 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001105/0.4666, allocations: 188.2 kB / 1.313 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.343e-05/0.4667, allocations: 176.3 kB / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.467, allocations: 372.3 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-05/0.4671, allocations: 112.9 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.4671, allocations: 101 kB / 1.314 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.4672, allocations: 184.2 kB / 1.314 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.4673, allocations: 188.2 kB / 1.315 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-05/0.4674, allocations: 176.3 kB / 1.315 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000101/0.4675, allocations: 184.2 kB / 1.315 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.4677, allocations: 307.8 kB / 1.315 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.4678, allocations: 105 kB / 1.315 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4679, allocations: 188.2 kB / 1.315 GB, free: 8.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.468, allocations: 104.9 kB / 1.316 GB, free: 8.473 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4681, allocations: 176.3 kB / 1.316 GB, free: 8.293 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.4681, allocations: 108.9 kB / 1.316 GB, free: 8.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.4682, allocations: 79.28 kB / 1.316 GB, free: 8.102 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4682, allocations: 4.094 kB / 1.316 GB, free: 8.098 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003126/0.4685, allocations: 7.938 kB / 1.316 GB, free: 8.09 MB / 1.014 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.0004469/0.4689, allocations: 187.3 kB / 1.316 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.027e-05/0.469, allocations: 0 / 1.316 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.469, allocations: 0 / 1.316 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.469, allocations: 0 / 1.316 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.4695, allocations: 460.8 kB / 1.317 GB, free: 7.441 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.4698, allocations: 180.6 kB / 1.317 GB, free: 7.238 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.4702, allocations: 0.6768 MB / 1.317 GB, free: 6.535 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.4702, allocations: 0 / 1.317 GB, free: 6.535 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.4702, allocations: 7.438 kB / 1.317 GB, free: 6.527 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.4702, allocations: 0 / 1.317 GB, free: 6.527 MB / 1.014 GB Notification: Performance of Templates: time 0.002752/0.473, allocations: 324.2 kB / 1.318 GB, free: 6.25 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.4781374912709]