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.001697/0.001697, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002015/0.002015, allocations: 219.3 kB / 22.26 MB, free: 5.125 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.988 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.196/3.196, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [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.002018/0.002018, allocations: 67.58 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002597/0.3654, allocations: 1.266 MB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3668, allocations: 0.8067 MB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.3668, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.3669, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.3671, allocations: 19.91 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.402e-05/0.3672, allocations: 11.94 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.3672, allocations: 7.984 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.3673, allocations: 0 / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.3673, allocations: 11.98 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3675, allocations: 6.75 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3675, allocations: 0 / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.3675, allocations: 11.98 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.3676, allocations: 7.984 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.3676, allocations: 7.875 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.3677, allocations: 8.219 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3677, allocations: 8 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3677, allocations: 0 / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3677, allocations: 0 / 1.355 GB, free: 6.258 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.0003534/0.3681, allocations: 246.4 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3681, allocations: 12.03 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.837e-05/0.3682, allocations: 106 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.3683, allocations: 84.2 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3684, allocations: 185.8 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.3685, allocations: 154.9 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.3686, allocations: 150.9 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.3687, allocations: 101.5 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.3687, allocations: 87.09 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.3688, allocations: 154.6 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-05/0.3689, allocations: 154.6 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.369, allocations: 150.6 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.3694, allocations: 421 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3695, allocations: 169.2 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.3696, allocations: 92.08 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.3696, allocations: 79.22 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/0.3697, allocations: 105.8 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3697, allocations: 0 / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.74e-05/0.3698, allocations: 37.62 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.3698, allocations: 126.7 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.37, allocations: 97.86 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.37, allocations: 29.7 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.37, allocations: 84.14 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.37, allocations: 0 / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3701, allocations: 13.7 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3702, allocations: 310.8 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-06/0.3702, allocations: 3.938 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.3702, allocations: 4 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.3703, allocations: 75.28 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.096e-05/0.3703, allocations: 83.31 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.213e-05/0.3704, allocations: 29.7 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.3704, allocations: 83.22 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/0.3705, allocations: 75.28 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.831e-05/0.3705, allocations: 162.5 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.23e-05/0.3706, allocations: 75.84 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-05/0.3707, allocations: 154.5 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3708, allocations: 79.28 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.3708, allocations: 79.28 kB / 1.359 GB, free: 2.074 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.0002116/0.371, allocations: 268.9 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.3711, allocations: 113 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3712, allocations: 108.1 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-05/0.3713, allocations: 188.2 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000146/0.3715, allocations: 176.5 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.992e-05/0.3716, allocations: 188.2 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.3718, allocations: 384.2 kB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.3719, allocations: 101 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.3719, allocations: 108.9 kB / 1.36 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.093e-05/0.372, allocations: 192.2 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.3721, allocations: 180.2 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.111e-05/0.3722, allocations: 176.3 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.3723, allocations: 180.3 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.3725, allocations: 315.8 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.3726, allocations: 104.9 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.3726, allocations: 180.2 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3727, allocations: 105 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.3728, allocations: 188.2 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.3729, allocations: 105 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.3729, allocations: 83.22 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3729, allocations: 0 / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002605/0.3732, allocations: 4 kB / 1.362 GB, free: 14.5 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.0006902/0.3739, allocations: 0.8225 MB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.823e-05/0.374, allocations: 8 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.374, allocations: 0 / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.374, allocations: 0 / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.3744, allocations: 459.6 kB / 1.363 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3757, allocations: 1.56 MB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3761, allocations: 0.6729 MB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.616e-05/0.3761, allocations: 4 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.3761, allocations: 7.438 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3761, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.4063, allocations: 1.258 MB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.82, allocations: 11.94 kB / 1.367 GB, free: 9.738 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/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: 17.609315225000046]