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.0008101/0.0008101, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.000906/0.000906, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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 0.9139/0.9139, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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 1.812/1.812, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.343e-06/1.343e-06, allocations: 0 / 1.001 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.567e-05, allocations: 2.281 kB / 1.001 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001495/0.00151, allocations: 1.269 MB / 1.002 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.002532, allocations: 1.096 MB / 1.003 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.002557, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.002572, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.00296, allocations: 115.5 kB / 1.003 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.002964, allocations: 0 / 1.003 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 4.252e-05/0.003007, allocations: 8 kB / 1.003 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.003047, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.003074, allocations: 11.92 kB / 1.003 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.00312, allocations: 1.891 kB / 1.003 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.003128, allocations: 4 kB / 1.003 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.003287, allocations: 99.86 kB / 1.003 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.951e-06/0.003293, allocations: 0 / 1.003 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.003307, allocations: 3.984 kB / 1.003 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.003465, allocations: 127.6 kB / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003467, allocations: 0 / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003468, allocations: 0 / 1.003 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.003472, allocations: 0 / 1.003 GB, free: 9.664 MB / 0.9167 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.0002437/0.003715, allocations: 270 kB / 1.004 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.003752, allocations: 13.34 kB / 1.004 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.003792, allocations: 110 kB / 1.004 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.003833, allocations: 76.22 kB / 1.004 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.003989, allocations: 185.1 kB / 1.004 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.004023, allocations: 150.9 kB / 1.004 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.004054, allocations: 154.9 kB / 1.004 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.989e-05/0.004104, allocations: 105.5 kB / 1.004 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.004125, allocations: 75.47 kB / 1.004 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.004164, allocations: 154.5 kB / 1.005 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.004205, allocations: 154.5 kB / 1.005 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.004244, allocations: 158.6 kB / 1.005 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.00444, allocations: 417 kB / 1.005 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.004511, allocations: 169.1 kB / 1.005 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.004536, allocations: 80.14 kB / 1.005 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.004554, allocations: 75.28 kB / 1.006 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.004587, allocations: 113.8 kB / 1.006 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.004587, allocations: 4 kB / 1.006 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.893e-05/0.004646, allocations: 29.64 kB / 1.006 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.004687, allocations: 126.7 kB / 1.006 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.00477, allocations: 97.94 kB / 1.006 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.004781, allocations: 29.73 kB / 1.006 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.004803, allocations: 80.14 kB / 1.006 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.004805, allocations: 3.938 kB / 1.006 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.004822, allocations: 13.72 kB / 1.006 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.004901, allocations: 314.8 kB / 1.006 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.004905, allocations: 0 / 1.006 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-06/0.004908, allocations: 0 / 1.006 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.004928, allocations: 79.22 kB / 1.006 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.004946, allocations: 75.28 kB / 1.006 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.035e-05/0.004976, allocations: 29.7 kB / 1.007 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.005006, allocations: 83.27 kB / 1.007 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.005026, allocations: 87.22 kB / 1.007 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.4e-05/0.00507, allocations: 158.4 kB / 1.007 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.689e-05/0.005097, allocations: 83.31 kB / 1.007 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.969e-05/0.005136, allocations: 158.5 kB / 1.007 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.005187, allocations: 79.28 kB / 1.007 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.005205, allocations: 75.28 kB / 1.007 GB, free: 5.473 MB / 0.9167 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 9.24e-05/0.005298, allocations: 261.3 kB / 1.007 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.005339, allocations: 112.9 kB / 1.008 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.005379, allocations: 108.1 kB / 1.008 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/0.005427, allocations: 192.2 kB / 1.008 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-05/0.005472, allocations: 176.3 kB / 1.008 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-05/0.005511, allocations: 176.3 kB / 1.008 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.005651, allocations: 376.2 kB / 1.009 GB, free: 4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/0.005675, allocations: 105 kB / 1.009 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.005701, allocations: 112.9 kB / 1.009 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.162e-05/0.005743, allocations: 180.2 kB / 1.009 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.005786, allocations: 180.2 kB / 1.009 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.173e-05/0.005827, allocations: 184.2 kB / 1.009 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.94e-05/0.005867, allocations: 176.3 kB / 1.009 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.646e-05/0.005963, allocations: 311.8 kB / 1.01 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.005992, allocations: 112.9 kB / 1.01 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.00604, allocations: 180.2 kB / 1.01 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.006092, allocations: 101 kB / 1.01 GB, free: 2.301 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.006141, allocations: 184.2 kB / 1.01 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.006166, allocations: 105 kB / 1.01 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.006198, allocations: 83.28 kB / 1.01 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006198, allocations: 0 / 1.01 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002026/0.0064, allocations: 39.8 kB / 1.011 GB, free: 1.883 MB / 0.9167 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.0006492/0.00705, allocations: 0.9661 MB / 1.011 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.484e-05/0.007084, allocations: 3.938 kB / 1.011 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007086, allocations: 0 / 1.011 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.007087, allocations: 0 / 1.011 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.007328, allocations: 463.7 kB / 1.012 GB, free: 488 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/0.008291, allocations: 1.556 MB / 1.013 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.008328, allocations: 55.34 kB / 1.013 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 9.387e-06/0.008337, allocations: 4 kB / 1.013 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.00836, allocations: 8.625 kB / 1.013 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of SimCode: time 4.6e-07/0.00836, allocations: 4 kB / 1.013 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07459/0.08295, allocations: 2.529 MB / 1.016 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.33, allocations: 15.44 kB / 1.016 GB, free: 12.35 MB / 0.9323 GB " [Timeout remaining time 293] (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.371114749461412]