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.001408/0.001408, 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.001878/0.001878, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.785 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.831/2.831, allocations: 476 MB / 0.7699 GB, free: 4.73 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.002138/0.002138, allocations: 64.78 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002757/0.3678, allocations: 1.254 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3698, allocations: 1.081 MB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.3698, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.3698, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.3704, allocations: 119.5 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-06/0.3704, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.843e-05/0.3704, allocations: 4 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.3705, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.3705, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.3705, allocations: 4 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.3705, allocations: 4 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.3708, allocations: 111.8 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.3708, allocations: 0 / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.3708, allocations: 3.984 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.3711, allocations: 97.17 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3711, allocations: 0 / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3711, allocations: 0 / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3711, allocations: 0 / 1.285 GB, free: 9.785 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.0003677/0.3714, allocations: 278 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3715, allocations: 8.031 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.3715, allocations: 110 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.3716, allocations: 88.16 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.3718, allocations: 181.8 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.3718, allocations: 158.9 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.3719, allocations: 150.9 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.979e-05/0.372, allocations: 104.9 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.372, allocations: 75.28 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.3721, allocations: 154.5 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.774e-05/0.3722, allocations: 154.6 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.3723, allocations: 154.5 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.3726, allocations: 425 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3728, allocations: 173.2 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.3728, allocations: 80.14 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.3728, allocations: 79.22 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.3729, allocations: 109.8 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3729, allocations: 3.938 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.228e-05/0.373, allocations: 33.66 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.3731, allocations: 126.7 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3732, allocations: 97.84 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3732, allocations: 25.7 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.3732, allocations: 80.14 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.3732, allocations: 4.125 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.3733, allocations: 13.72 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3734, allocations: 314.8 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-06/0.3734, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-06/0.3734, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.3735, allocations: 75.28 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.205e-05/0.3735, allocations: 79.28 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.205e-05/0.3736, allocations: 33.58 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.3736, allocations: 83.28 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.3736, allocations: 75.28 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.671e-05/0.3737, allocations: 158.5 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.551e-05/0.3738, allocations: 79.28 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.669e-05/0.3738, allocations: 158.5 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.3739, allocations: 79.22 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.374, allocations: 79.28 kB / 1.289 GB, free: 5.578 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.0001524/0.3741, allocations: 262.2 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.3742, allocations: 109 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.3743, allocations: 116.1 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-05/0.3744, allocations: 176.3 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.809e-05/0.3744, allocations: 184.2 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.945e-05/0.3745, allocations: 180.3 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3748, allocations: 380.2 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.998e-05/0.3748, allocations: 112.9 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.3749, allocations: 101 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-05/0.375, allocations: 184.2 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/0.3751, allocations: 184.2 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001328/0.3752, allocations: 180.2 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.54e-05/0.3753, allocations: 176.3 kB / 1.291 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.3755, allocations: 303.8 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.3755, allocations: 112.9 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3756, allocations: 180.2 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3758, allocations: 105 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.3758, allocations: 184.2 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.3759, allocations: 105 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.788e-05/0.376, allocations: 83.27 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 0 / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003683/0.3763, allocations: 35.81 kB / 1.292 GB, free: 2.004 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.001024/0.3773, allocations: 0.9634 MB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.862e-05/0.3774, allocations: 4 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3774, allocations: 4 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3774, allocations: 0 / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3778, allocations: 457.6 kB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3793, allocations: 1.552 MB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.3794, allocations: 51.36 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.3794, allocations: 11.92 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.3794, allocations: 7.438 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.3794, allocations: 0 / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.4158, allocations: 2.389 MB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 10.03 kB / 1.298 GB, free: 12.63 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.804995764046907]