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.001743/0.001743, allocations: 110.6 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.002118/0.002118, allocations: 220.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.421/1.421, 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 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.695/2.695, allocations: 476.8 MB / 0.7707 GB, free: 4.273 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.00199/0.00199, allocations: 67.5 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3226, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002359/0.325, allocations: 1.261 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3266, allocations: 1.108 MB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.3266, allocations: 0 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3266, allocations: 0 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.327, allocations: 111.5 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.327, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.867e-05/0.3271, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.3271, allocations: 4 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.3271, allocations: 0 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.3272, allocations: 7.938 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.3272, allocations: 0 / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.3275, allocations: 123.8 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-06/0.3275, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.3275, allocations: 8 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3277, allocations: 107.6 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3277, allocations: 4 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3277, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3277, allocations: 0 / 1.286 GB, free: 9 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.000307/0.328, allocations: 270 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.328, allocations: 8.031 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.3281, allocations: 114 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.3282, allocations: 76.22 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3283, allocations: 197.7 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.3284, allocations: 150.9 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.3284, allocations: 154.9 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.881e-05/0.3285, allocations: 108.9 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.3285, allocations: 75.28 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.3286, allocations: 150.6 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/0.3286, allocations: 154.6 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.3287, allocations: 150.6 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.329, allocations: 421 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.3291, allocations: 177 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.3291, allocations: 84.14 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.3291, allocations: 83.22 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.3292, allocations: 105.8 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3292, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.789e-05/0.3293, allocations: 29.7 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.3293, allocations: 130.6 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.3294, allocations: 101.8 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3294, allocations: 25.7 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.3295, allocations: 80.14 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.3295, allocations: 3.984 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.3295, allocations: 13.72 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3296, allocations: 310.8 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-06/0.3296, allocations: 4 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-06/0.3296, allocations: 0 / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.3297, allocations: 79.41 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.52e-05/0.3297, allocations: 75.28 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.884e-05/0.3298, allocations: 29.64 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.3298, allocations: 83.28 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/0.3299, allocations: 79.22 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.261e-05/0.3299, allocations: 154.5 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.906e-05/0.33, allocations: 79.22 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.964e-05/0.33, allocations: 162.6 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.3301, allocations: 75.28 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3301, allocations: 83.2 kB / 1.29 GB, free: 4.797 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.0001192/0.3302, allocations: 260.4 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.3303, allocations: 105.1 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.3304, allocations: 120.1 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.865e-05/0.3304, allocations: 180.3 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/0.3305, allocations: 180.3 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.285e-05/0.3306, allocations: 184.2 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3308, allocations: 368.3 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.844e-05/0.3309, allocations: 120.9 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.3309, allocations: 104.9 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.53e-05/0.331, allocations: 176.3 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/0.3311, allocations: 184.2 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.325e-05/0.3311, allocations: 188.2 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.956e-05/0.3312, allocations: 180.2 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3313, allocations: 307.8 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3314, allocations: 108.9 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.3315, allocations: 180.3 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.3316, allocations: 108.9 kB / 1.293 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.3316, allocations: 180.3 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.3317, allocations: 104.9 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.3317, allocations: 83.27 kB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3317, allocations: 0 / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000359/0.3321, allocations: 39.81 kB / 1.293 GB, free: 1.211 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.0008336/0.3329, allocations: 0.9448 MB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.535e-05/0.333, allocations: 0 / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.333, allocations: 0 / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.333, allocations: 3.938 kB / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3334, allocations: 459.7 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3345, allocations: 1.55 MB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3348, allocations: 0.6768 MB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.05e-05/0.3348, allocations: 4 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.3348, allocations: 15.38 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.3348, allocations: 0 / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3656, allocations: 1.975 MB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.03, allocations: 5.844 kB / 1.299 GB, free: 11.64 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.712890061000508]