Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 195.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.096/2.096, allocations: 390.2 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4951/0.4963, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.0018/0.4981, allocations: 1.234 MB / 0.9509 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.4991, allocations: 1.002 MB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.4991, allocations: 0 / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.4991, allocations: 0 / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.4995, allocations: 114.8 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.4995, allocations: 3.938 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.924e-05/0.4995, allocations: 6.281 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.4996, allocations: 1.469 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.241e-05/0.4996, allocations: 5.281 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.4997, allocations: 6.672 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.4997, allocations: 0 / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.4998, allocations: 111.4 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-06/0.4999, allocations: 1.531 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.4999, allocations: 0 / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.5, allocations: 113.8 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5, allocations: 1.719 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5, allocations: 0 / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5001, allocations: 0 / 0.9523 GB, free: 7.223 MB / 0.7169 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.000202/0.5003, allocations: 354.6 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.5003, allocations: 8.469 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.979e-05/0.5003, allocations: 107.3 kB / 0.9527 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.5004, allocations: 76.22 kB / 0.9528 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.5004, allocations: 242.8 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5005, allocations: 152.3 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.5005, allocations: 154.9 kB / 0.9533 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.988e-05/0.5005, allocations: 105.8 kB / 0.9534 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5005, allocations: 75.28 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.5006, allocations: 160.1 kB / 0.9536 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.5006, allocations: 150.6 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.5006, allocations: 150.6 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.5007, allocations: 451.3 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.245e-05/0.5008, allocations: 170.5 kB / 0.9545 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.5008, allocations: 85.55 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.5008, allocations: 80.53 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.5008, allocations: 109.8 kB / 0.9548 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.5008, allocations: 1.406 kB / 0.9548 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 4.858e-05/0.5009, allocations: 25.7 kB / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.5009, allocations: 128.1 kB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.501, allocations: 100.7 kB / 0.955 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-06/0.501, allocations: 25.7 kB / 0.955 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.073e-05/0.501, allocations: 81.55 kB / 0.9551 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.501, allocations: 4.125 kB / 0.9551 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.501, allocations: 11.09 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.07e-05/0.5011, allocations: 310.8 kB / 0.9554 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-06/0.5011, allocations: 0 / 0.9554 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-06/0.5011, allocations: 8.969 kB / 0.9554 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-06/0.5011, allocations: 75.28 kB / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.5011, allocations: 76.78 kB / 0.9556 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.144e-05/0.5011, allocations: 31.2 kB / 0.9556 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5012, allocations: 86.94 kB / 0.9557 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5012, allocations: 79.28 kB / 0.9558 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5012, allocations: 159.8 kB / 0.9559 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-06/0.5012, allocations: 76.14 kB / 0.956 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.5012, allocations: 164 kB / 0.9562 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.5013, allocations: 75.28 kB / 0.9562 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5013, allocations: 80.88 kB / 0.9563 GB, free: 2.887 MB / 0.7169 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 3.949e-05/0.5013, allocations: 261.2 kB / 0.9565 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.5014, allocations: 110 kB / 0.9567 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.5014, allocations: 114.2 kB / 0.9568 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.5014, allocations: 180.4 kB / 0.9569 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.5014, allocations: 181.5 kB / 0.9571 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.5015, allocations: 185.5 kB / 0.9573 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.5016, allocations: 402.5 kB / 0.9577 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.5016, allocations: 106.3 kB / 0.9578 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.5016, allocations: 106.1 kB / 0.9579 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.5016, allocations: 177.5 kB / 0.958 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5016, allocations: 188.2 kB / 0.9582 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.5017, allocations: 181.5 kB / 0.9584 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-05/0.5017, allocations: 181.6 kB / 0.9586 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.994e-05/0.5017, allocations: 303.2 kB / 0.9589 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.5018, allocations: 203.3 kB / 0.959 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.5019, allocations: 177.5 kB / 0.9592 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.5019, allocations: 101.7 kB / 0.9593 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.502, allocations: 181.3 kB / 0.9595 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.502, allocations: 110.3 kB / 0.9596 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.502, allocations: 76.47 kB / 0.9597 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.502, allocations: 5.344 kB / 0.9597 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000283/0.5023, allocations: 44.14 kB / 0.9597 GB, free: 15.21 MB / 0.7325 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.0005824/0.5029, allocations: 0.9399 MB / 0.9606 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 2.711e-05/0.503, allocations: 4 kB / 0.9606 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.503, allocations: 1.469 kB / 0.9606 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.503, allocations: 0 / 0.9606 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.5033, allocations: 452.8 kB / 0.9611 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.5041, allocations: 1.565 MB / 0.9626 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.5043, allocations: 0.678 MB / 0.9633 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.073e-06/0.5043, allocations: 0 / 0.9633 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.5044, allocations: 8.906 kB / 0.9633 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5044, allocations: 3.938 kB / 0.9633 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.5227, allocations: 1.853 MB / 0.9651 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.538/7.061, allocations: 17.25 kB / 0.9651 GB, free: 10.56 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches