Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001276/0.001276, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001926/0.001926, allocations: 210 kB / 22.24 MB, free: 4.859 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.781 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.309/3.309, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.002029/0.002029, allocations: 68.66 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3836, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002466/0.3861, allocations: 1.259 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3878, allocations: 1.092 MB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.3879, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.3879, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.3884, allocations: 107.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.3884, allocations: 4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.989e-05/0.3884, allocations: 3.938 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.3885, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.3885, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.3886, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.3886, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.3888, allocations: 115.8 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.3888, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.342e-05/0.3888, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.389, allocations: 104 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.389, allocations: 3.938 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/0.389, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.389, allocations: 0 / 1.366 GB, free: 11.35 MB / 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.000354/0.3894, allocations: 274 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3894, allocations: 8.031 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.3895, allocations: 110 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.3896, allocations: 84.16 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3897, allocations: 181.8 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.3898, allocations: 154.9 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.3899, allocations: 150.9 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.3899, allocations: 112.9 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.39, allocations: 75.28 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.3901, allocations: 154.5 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/0.3901, allocations: 154.6 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.3902, allocations: 162.5 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.3905, allocations: 413 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.451e-05/0.3906, allocations: 165.1 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.3907, allocations: 92.11 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.3907, allocations: 83.16 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.3908, allocations: 109.8 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3908, allocations: 0 / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.008e-05/0.3908, allocations: 25.7 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.3909, allocations: 126.7 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.391, allocations: 97.86 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.391, allocations: 25.7 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.3911, allocations: 84.14 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.3911, allocations: 4 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.3911, allocations: 13.7 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3912, allocations: 310.8 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.3912, allocations: 0 / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.3912, allocations: 3.938 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.3913, allocations: 79.28 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-05/0.3913, allocations: 75.28 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.353e-05/0.3914, allocations: 29.64 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.3914, allocations: 87.41 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.3915, allocations: 75.28 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.437e-05/0.3915, allocations: 154.5 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.3916, allocations: 87.39 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.059e-05/0.3916, allocations: 158.5 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.3917, allocations: 75.28 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.3918, allocations: 75.28 kB / 1.37 GB, free: 7.156 MB / 1.061 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.0001332/0.3919, allocations: 264.3 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.392, allocations: 108.9 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.392, allocations: 116.2 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-05/0.3921, allocations: 188.2 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.717e-05/0.3922, allocations: 176.3 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-05/0.3923, allocations: 180.3 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.3925, allocations: 376.2 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.677e-05/0.3926, allocations: 108.9 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.3926, allocations: 104.9 kB / 1.371 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-05/0.3927, allocations: 176.3 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.3928, allocations: 184.2 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.73e-05/0.3928, allocations: 180.2 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-05/0.3929, allocations: 176.3 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.3931, allocations: 307.8 kB / 1.372 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.3931, allocations: 112.9 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.3932, allocations: 188.2 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.3933, allocations: 109 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.3934, allocations: 184.2 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.3935, allocations: 101 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.3935, allocations: 79.28 kB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3935, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003449/0.3939, allocations: 43.8 kB / 1.373 GB, free: 3.562 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.0009636/0.3948, allocations: 0.9644 MB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.52e-05/0.3949, allocations: 4 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3949, allocations: 0 / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.3949, allocations: 0 / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3953, allocations: 455.7 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3966, allocations: 1.556 MB / 1.376 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.3966, allocations: 51.36 kB / 1.376 GB, free: 468 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.687e-06/0.3966, allocations: 0 / 1.376 GB, free: 468 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.3967, allocations: 15.56 kB / 1.376 GB, free: 452 kB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.3967, allocations: 0 / 1.376 GB, free: 452 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.4292, allocations: 2.388 MB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.35, allocations: 8.922 kB / 1.379 GB, free: 14.2 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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: 18.40069394186139]