Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002073/0.002073, allocations: 108.5 kB / 16.45 MB, free: 6.496 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.002221/0.002221, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.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.79/2.79, allocations: 476.7 MB / 0.7672 GB, free: 5.219 MB / 0.6231 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_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.002097/0.002097, allocations: 71.89 kB / 1.112 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8286, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002712/0.8314, allocations: 1.247 MB / 1.279 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.8331, allocations: 1.019 MB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.8331, allocations: 0 / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.8331, allocations: 3.938 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000511/0.8336, allocations: 107.6 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.8336, allocations: 0 / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.8337, allocations: 7.938 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.8337, allocations: 0 / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.8337, allocations: 3.984 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.8339, allocations: 11.98 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.8339, allocations: 0 / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.8341, allocations: 123.8 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-06/0.8341, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.8342, allocations: 3.938 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.8344, allocations: 113.6 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8344, allocations: 0 / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8344, allocations: 0 / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.8344, allocations: 3.938 kB / 1.281 GB, free: 10.72 MB / 0.9825 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.0003975/0.8348, allocations: 347.1 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8349, allocations: 16.03 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/0.8349, allocations: 106 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.835, allocations: 76.22 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.8352, allocations: 243.6 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.8353, allocations: 150.9 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.8353, allocations: 154.9 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.8354, allocations: 108.9 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.299e-05/0.8355, allocations: 79.27 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.8355, allocations: 150.6 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.519e-05/0.8356, allocations: 158.5 kB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.8357, allocations: 150.6 kB / 1.283 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.836, allocations: 449.9 kB / 1.283 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8361, allocations: 169.1 kB / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.8362, allocations: 80.14 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.8362, allocations: 79.22 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.089e-05/0.8363, allocations: 113.8 kB / 1.283 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.8363, allocations: 0 / 1.283 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.253e-05/0.8364, allocations: 29.7 kB / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.8364, allocations: 126.7 kB / 1.284 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.8365, allocations: 101.8 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.8366, allocations: 25.7 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.8366, allocations: 80.14 kB / 1.284 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.8366, allocations: 0 / 1.284 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.8366, allocations: 13.84 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8368, allocations: 318.7 kB / 1.284 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-06/0.8368, allocations: 0 / 1.284 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.8368, allocations: 8 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.8368, allocations: 79.22 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-05/0.8369, allocations: 75.28 kB / 1.284 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.205e-05/0.8369, allocations: 29.64 kB / 1.284 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.837, allocations: 83.28 kB / 1.284 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.837, allocations: 79.28 kB / 1.284 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.101e-05/0.8371, allocations: 166.5 kB / 1.285 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.319e-05/0.8371, allocations: 75.28 kB / 1.285 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-05/0.8372, allocations: 158.5 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.8373, allocations: 75.28 kB / 1.285 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.8373, allocations: 75.28 kB / 1.285 GB, free: 6.332 MB / 0.9825 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.0001429/0.8374, allocations: 263.1 kB / 1.285 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.8375, allocations: 113 kB / 1.285 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.8376, allocations: 112.1 kB / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.446e-05/0.8377, allocations: 184.2 kB / 1.286 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.534e-05/0.8378, allocations: 180.3 kB / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-05/0.8378, allocations: 180.3 kB / 1.286 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.8381, allocations: 405.2 kB / 1.286 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/0.8382, allocations: 104.9 kB / 1.286 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.8382, allocations: 108.9 kB / 1.286 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.009e-05/0.8383, allocations: 176.3 kB / 1.287 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.8384, allocations: 180.2 kB / 1.287 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.958e-05/0.8384, allocations: 184.2 kB / 1.287 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.923e-05/0.8385, allocations: 184.3 kB / 1.287 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.8387, allocations: 303.8 kB / 1.287 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.8388, allocations: 190 kB / 1.288 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/0.8389, allocations: 184.3 kB / 1.288 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.839, allocations: 101 kB / 1.288 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.8391, allocations: 184.2 kB / 1.288 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.8391, allocations: 105 kB / 1.288 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.683e-05/0.8392, allocations: 75.28 kB / 1.288 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8392, allocations: 4 kB / 1.288 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003847/0.8396, allocations: 51.83 kB / 1.288 GB, free: 2.609 MB / 0.9825 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.001052/0.8406, allocations: 0.9476 MB / 1.289 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.734e-05/0.8407, allocations: 0 / 1.289 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8407, allocations: 0 / 1.289 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.8407, allocations: 4 kB / 1.289 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.8411, allocations: 455.7 kB / 1.29 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.8425, allocations: 1.559 MB / 1.291 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.8428, allocations: 0.6767 MB / 1.292 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.658e-06/0.8428, allocations: 4.125 kB / 1.292 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.8428, allocations: 11.44 kB / 1.292 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.8428, allocations: 0 / 1.292 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.8737, allocations: 1.897 MB / 1.294 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.769, allocations: 15.34 kB / 1.294 GB, free: 13.12 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.923225731123239]