Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008763/0.0008763, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.00141/0.00141, allocations: 212.6 kB / 23.02 MB, free: 2.965 MB / 13.93 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.012/1.012, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.06/2.06, allocations: 0.5046 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 71.89 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8066/0.8077, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001762/0.8094, allocations: 1.272 MB / 1.354 GB, free: 420 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.8107, allocations: 1.079 MB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.8107, allocations: 3.938 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.8108, allocations: 0 / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.8112, allocations: 111.6 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.8112, allocations: 4 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 3.722e-05/0.8112, allocations: 3.938 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.8113, allocations: 7.984 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.8113, allocations: 3.984 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.8114, allocations: 3.938 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.68e-06/0.8114, allocations: 0 / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.8115, allocations: 107.9 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.903e-06/0.8115, allocations: 0 / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.8116, allocations: 4 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.8117, allocations: 97.95 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.8117, allocations: 0 / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8117, allocations: 8 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8117, allocations: 0 / 1.355 GB, free: 14.98 MB / 1.042 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.0002543/0.812, allocations: 266.1 kB / 1.355 GB, free: 14.69 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.812, allocations: 12.92 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.8121, allocations: 110 kB / 1.355 GB, free: 14.56 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.8121, allocations: 76.22 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.8122, allocations: 185.8 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.8123, allocations: 154.9 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.8123, allocations: 150.9 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.8125, allocations: 104.9 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.8125, allocations: 83.28 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.8125, allocations: 150.6 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.8126, allocations: 154.5 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.8126, allocations: 150.6 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.8128, allocations: 425 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.8129, allocations: 165.1 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.8129, allocations: 88.19 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.8129, allocations: 79.22 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.813, allocations: 109.8 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.813, allocations: 3.938 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 6.362e-05/0.813, allocations: 37.64 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.8131, allocations: 126.7 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.8131, allocations: 97.84 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.8132, allocations: 25.7 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.8132, allocations: 80.14 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.8132, allocations: 0 / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.8132, allocations: 13.66 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.8133, allocations: 318.8 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.8133, allocations: 0 / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-06/0.8133, allocations: 0 / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.8133, allocations: 75.41 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.8133, allocations: 79.28 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.721e-05/0.8134, allocations: 37.58 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.8134, allocations: 83.27 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.8134, allocations: 75.28 kB / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.517e-05/0.8134, allocations: 154.6 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.747e-05/0.8135, allocations: 79.22 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.362e-05/0.8135, allocations: 150.6 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.8135, allocations: 87.22 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.8136, allocations: 75.28 kB / 1.359 GB, free: 10.79 MB / 1.042 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 7.532e-05/0.8136, allocations: 256.4 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.8137, allocations: 117.1 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.8137, allocations: 119.9 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.856e-05/0.8138, allocations: 176.3 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.324e-05/0.8138, allocations: 188.2 kB / 1.36 GB, free: 9.918 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-05/0.8138, allocations: 176.3 kB / 1.36 GB, free: 9.738 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.814, allocations: 376.3 kB / 1.36 GB, free: 9.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/0.814, allocations: 108.9 kB / 1.36 GB, free: 9.207 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.814, allocations: 105 kB / 1.361 GB, free: 9.098 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.49e-05/0.8141, allocations: 188.2 kB / 1.361 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.8141, allocations: 176.3 kB / 1.361 GB, free: 8.727 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.832e-05/0.8141, allocations: 180.3 kB / 1.361 GB, free: 8.543 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.129e-05/0.8142, allocations: 184.2 kB / 1.361 GB, free: 8.355 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.389e-05/0.8143, allocations: 311.7 kB / 1.362 GB, free: 8.027 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.8143, allocations: 104.9 kB / 1.362 GB, free: 7.918 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.8144, allocations: 188.1 kB / 1.362 GB, free: 7.727 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.8144, allocations: 101 kB / 1.362 GB, free: 7.621 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.8144, allocations: 180.3 kB / 1.362 GB, free: 7.438 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.8145, allocations: 112.9 kB / 1.362 GB, free: 7.32 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.8145, allocations: 75.28 kB / 1.362 GB, free: 7.246 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.8145, allocations: 0 / 1.362 GB, free: 7.246 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002334/0.8147, allocations: 43.89 kB / 1.362 GB, free: 7.203 MB / 1.042 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.0005935/0.8153, allocations: 0.9568 MB / 1.363 GB, free: 6.262 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 4.286e-05/0.8154, allocations: 11.94 kB / 1.363 GB, free: 6.25 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8154, allocations: 4 kB / 1.363 GB, free: 6.246 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.8154, allocations: 0 / 1.363 GB, free: 6.246 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.8158, allocations: 453.8 kB / 1.364 GB, free: 5.801 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008783/0.8166, allocations: 1.556 MB / 1.365 GB, free: 4.168 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.8167, allocations: 63.47 kB / 1.365 GB, free: 4.086 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.917e-06/0.8167, allocations: 0 / 1.365 GB, free: 4.086 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.8167, allocations: 7.438 kB / 1.365 GB, free: 4.078 MB / 1.042 GB Notification: Performance of SimCode: time 9.62e-07/0.8167, allocations: 0 / 1.365 GB, free: 4.078 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08013/0.8968, allocations: 2.379 MB / 1.368 GB, free: 1.844 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/7.722, allocations: 7.922 kB / 1.368 GB, free: 1.84 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.810644443146884]