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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001304/0.001304, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001501, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4979, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002081/0.5, allocations: 1.294 MB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.5013, allocations: 1.004 MB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-06/0.5013, allocations: 4 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.5014, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.5017, allocations: 87.72 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.234e-06/0.5017, allocations: 0 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.485e-05/0.5017, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.5018, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.281e-05/0.5018, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.5019, allocations: 4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.5019, allocations: 3.938 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.5021, allocations: 107.9 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.591e-06/0.5021, allocations: 7.984 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.5021, allocations: 4 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.5023, allocations: 103.8 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5023, allocations: 4 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.51e-07/0.5023, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.776e-06/0.5023, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 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.0003169/0.5026, allocations: 343.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5027, allocations: 12.03 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.5027, allocations: 106 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.5028, allocations: 76.22 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.5029, allocations: 249.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.503, allocations: 150.9 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.503, allocations: 154.9 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.53e-05/0.5031, allocations: 104.9 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-05/0.5032, allocations: 75.28 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.5032, allocations: 158.6 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.5032, allocations: 150.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.5033, allocations: 154.5 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.5036, allocations: 445.9 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.5037, allocations: 177.1 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.5037, allocations: 80.19 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.5037, allocations: 83.22 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.5038, allocations: 109.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5038, allocations: 3.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.014e-05/0.5039, allocations: 33.64 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.5039, allocations: 130.7 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.504, allocations: 97.86 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.504, allocations: 25.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.504, allocations: 84.12 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.504, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.5041, allocations: 9.719 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5042, allocations: 310.8 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-06/0.5042, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.5042, allocations: 8.125 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.5042, allocations: 75.28 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.5043, allocations: 75.28 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.076e-05/0.5043, allocations: 37.66 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.5044, allocations: 83.28 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.5044, allocations: 79.28 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/0.5044, allocations: 154.5 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.5045, allocations: 83.22 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.375e-05/0.5045, allocations: 158.5 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.5046, allocations: 79.22 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.5046, allocations: 75.28 kB / 1.023 GB, free: 11.79 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.534e-05/0.5047, allocations: 260.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.5048, allocations: 112.9 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.5048, allocations: 112.1 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-05/0.5048, allocations: 176.3 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-05/0.5049, allocations: 180.2 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.897e-05/0.505, allocations: 180.3 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.5051, allocations: 405.2 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.5052, allocations: 112.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.5052, allocations: 109 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.62e-05/0.5053, allocations: 180.2 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.5053, allocations: 180.2 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.493e-05/0.5054, allocations: 184.2 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.984e-05/0.5054, allocations: 180.3 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.5055, allocations: 303.8 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.5057, allocations: 194 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.5057, allocations: 180.2 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.5058, allocations: 101 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.5059, allocations: 184.3 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.5059, allocations: 104.9 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.506, allocations: 79.27 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.506, allocations: 0 / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002829/0.5062, allocations: 47.94 kB / 1.027 GB, free: 8.07 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.0006841/0.5069, allocations: 0.9339 MB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.574e-05/0.507, allocations: 3.938 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.507, allocations: 0 / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.507, allocations: 4.031 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.5074, allocations: 0.537 MB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.5083, allocations: 1.557 MB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.5085, allocations: 0.6731 MB / 1.03 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.157e-05/0.5085, allocations: 3.984 kB / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.5085, allocations: 7.438 kB / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5085, allocations: 0 / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.541/3.049, allocations: 1.743 MB / 1.032 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/3.05, allocations: 280.5 kB / 1.032 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/4.544, allocations: 7.547 kB / 1.032 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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