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.001093/0.001093, 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.001189/0.001189, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.229/2.229, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5096, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001939/0.5116, allocations: 1.231 MB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.5128, allocations: 1.015 MB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.5128, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.5128, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.5132, allocations: 103.6 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.5132, allocations: 0 / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.325e-05/0.5132, allocations: 11.94 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.5132, allocations: 0 / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.14e-05/0.5133, allocations: 0 / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.5133, allocations: 11.98 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.5134, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.5135, allocations: 112 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-06/0.5136, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 1.008e-05/0.5136, allocations: 3.828 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.5137, allocations: 107.9 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5137, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5137, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.5138, 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.0002667/0.514, allocations: 351.4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.5141, allocations: 12.03 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.5141, allocations: 110 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.5142, allocations: 80.2 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.5143, allocations: 245.9 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.5143, allocations: 154.9 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.5144, allocations: 150.9 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.689e-05/0.5144, allocations: 108.9 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.5145, allocations: 75.28 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.5145, allocations: 150.6 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.5145, allocations: 154.6 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.5146, allocations: 158.5 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.5148, allocations: 449.9 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.529e-05/0.5149, allocations: 165.1 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.5149, allocations: 80.14 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.5149, allocations: 83.22 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.515, allocations: 113.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.515, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.589e-05/0.515, allocations: 25.7 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5151, allocations: 126.7 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.5151, allocations: 97.84 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.5152, allocations: 25.7 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.5152, allocations: 80.14 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.5152, allocations: 3.938 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.5152, allocations: 21.78 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.5153, allocations: 314.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-06/0.5153, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-06/0.5153, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.916e-05/0.5153, allocations: 75.28 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.5154, allocations: 75.28 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.872e-05/0.5154, allocations: 37.58 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.5155, allocations: 83.27 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5155, allocations: 79.28 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.592e-05/0.5155, allocations: 158.5 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-05/0.5156, allocations: 75.33 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.959e-05/0.5156, allocations: 154.6 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.5157, allocations: 83.22 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.5157, allocations: 79.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.01e-05/0.5158, allocations: 260.4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.5158, allocations: 112.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.5159, allocations: 104.3 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/0.5159, allocations: 184.2 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-05/0.516, allocations: 184.3 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/0.516, allocations: 180.3 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.5162, allocations: 405.2 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.5162, allocations: 104.9 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.5163, allocations: 108.9 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.51e-05/0.5163, allocations: 180.2 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.5164, allocations: 180.3 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-05/0.5164, allocations: 184.2 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.075e-05/0.5165, allocations: 176.3 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.5166, allocations: 311.8 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.5166, allocations: 182 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.5167, allocations: 188.2 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.5168, allocations: 101 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.5168, allocations: 184.2 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.5168, allocations: 109 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.5169, allocations: 79.28 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.502e-06/0.5169, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002825/0.5172, allocations: 39.92 kB / 1.027 GB, free: 7.75 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.000585/0.5178, allocations: 0.9449 MB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.12e-05/0.5178, allocations: 8 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5178, allocations: 0 / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.5178, allocations: 4 kB / 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.0002849/0.5181, allocations: 455.7 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.519, allocations: 1.552 MB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.5191, allocations: 0.6768 MB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.693e-06/0.5192, allocations: 4.125 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.5192, allocations: 7.438 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of SimCode: time 1.363e-06/0.5192, allocations: 0 / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04504/0.5642, allocations: 1.863 MB / 1.033 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/7.4, allocations: 13.61 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 & /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