Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_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.001034/0.001034, allocations: 108 kB / 15.6 MB, free: 132 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.001036/0.001036, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 55.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4905, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002086/0.4926, allocations: 1.237 MB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.4938, allocations: 1.012 MB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.4939, allocations: 0 / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.4939, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.4943, allocations: 107.5 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.4943, allocations: 4 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.05e-05/0.4943, allocations: 0 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.4944, allocations: 0 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.4944, allocations: 7.984 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.4945, allocations: 9.641 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.751e-06/0.4945, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.4947, allocations: 111.9 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-06/0.4947, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.4947, allocations: 7.938 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.4949, allocations: 99.88 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4949, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4949, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.4949, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 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.0002782/0.4952, allocations: 359.4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4953, allocations: 12.03 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.4953, allocations: 106 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.4954, allocations: 76.22 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.4955, allocations: 241.9 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.4955, allocations: 154.9 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.4956, allocations: 150.9 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.067e-05/0.4956, allocations: 112.9 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.4956, allocations: 79.28 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.4957, allocations: 154.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.4957, allocations: 154.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.4958, allocations: 150.6 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.496, allocations: 441.9 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.4961, allocations: 173.1 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.4961, allocations: 84.14 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4961, allocations: 79.22 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.4962, allocations: 109.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4962, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.079e-05/0.4962, allocations: 29.64 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4963, allocations: 130.7 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.4964, allocations: 97.86 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.4964, allocations: 25.7 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.4964, allocations: 84.14 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.4964, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.4965, allocations: 9.719 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.4965, allocations: 314.8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-06/0.4966, allocations: 3.938 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-06/0.4966, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.4966, allocations: 79.41 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/0.4966, allocations: 79.28 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.969e-05/0.4967, allocations: 33.58 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.4967, allocations: 79.28 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.4967, allocations: 83.28 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/0.4968, allocations: 150.6 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.4968, allocations: 83.27 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.952e-05/0.4968, allocations: 158.6 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.4969, allocations: 87.2 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4969, allocations: 75.28 kB / 1.024 GB, free: 11.46 MB / 0.7794 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 8.081e-05/0.497, allocations: 260.4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4971, allocations: 108.9 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.4971, allocations: 112.2 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/0.4972, allocations: 180.2 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.613e-05/0.4972, allocations: 184.2 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/0.4973, allocations: 180.3 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.4975, allocations: 405.2 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/0.4975, allocations: 104.9 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.4975, allocations: 105 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.426e-05/0.4976, allocations: 184.2 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.4976, allocations: 176.3 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.572e-05/0.4977, allocations: 184.2 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.433e-05/0.4977, allocations: 180.2 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.727e-05/0.4978, allocations: 311.7 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.4979, allocations: 190 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.4979, allocations: 184.2 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.498, allocations: 105 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.4981, allocations: 176.3 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.4981, allocations: 112.9 kB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.4981, allocations: 75.28 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4981, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003029/0.4985, allocations: 43.92 kB / 1.027 GB, free: 7.746 MB / 0.7794 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.0006112/0.4991, allocations: 0.9464 MB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.95e-05/0.4991, allocations: 3.938 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4991, allocations: 0 / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.4991, allocations: 0 / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.4994, allocations: 460.2 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.5003, allocations: 1.56 MB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.5005, allocations: 0.669 MB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.864e-06/0.5005, allocations: 0 / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.5006, allocations: 7.438 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5006, allocations: 4 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.5187, allocations: 1.857 MB / 1.033 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/7.056, allocations: 11.08 kB / 1.033 GB, free: 2.289 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches