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.004578/0.004578, allocations: 98.16 kB / 15.73 MB, free: 6.008 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.001091/0.001092, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.098/2.098, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/0.7084, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002048/0.7105, allocations: 1.247 MB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.7117, allocations: 1.008 MB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.7117, allocations: 0 / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.7118, allocations: 5.125 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.7121, allocations: 110.9 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.7122, allocations: 1.156 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.666e-05/0.7122, allocations: 1 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.7122, allocations: 5.922 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.2e-05/0.7123, allocations: 5 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.7123, allocations: 3.891 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.181e-06/0.7124, allocations: 0 / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.7126, allocations: 121.6 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-06/0.7126, allocations: 0 / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.7126, allocations: 0.7188 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.7128, allocations: 110.5 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7128, allocations: 5.031 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7128, allocations: 0 / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.7128, allocations: 0 / 1.09 GB, free: 3.535 MB / 0.8575 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.0002263/0.7131, allocations: 356.7 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7131, allocations: 9.562 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.7131, allocations: 106 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.7132, allocations: 78.08 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.276e-05/0.7133, allocations: 238.1 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.7133, allocations: 160.7 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.7133, allocations: 150.9 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.346e-05/0.7133, allocations: 110 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7134, allocations: 75.89 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.7134, allocations: 150.6 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.7134, allocations: 155.6 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.7134, allocations: 152.7 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.7136, allocations: 444.7 kB / 1.092 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.648e-05/0.7136, allocations: 173.9 kB / 1.092 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.7136, allocations: 85.61 kB / 1.092 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.7137, allocations: 79.22 kB / 1.092 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.7137, allocations: 107.9 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.7137, allocations: 0 / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.349e-05/0.7138, allocations: 27.69 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.7138, allocations: 130.7 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.7139, allocations: 98.55 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.7139, allocations: 26.22 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.714, allocations: 81.48 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.714, allocations: 0 / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.714, allocations: 11.61 kB / 1.093 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.7141, allocations: 316.5 kB / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.7141, allocations: 0 / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-06/0.7141, allocations: 0 / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.7141, allocations: 84.47 kB / 1.093 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-05/0.7141, allocations: 76.08 kB / 1.093 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.038e-05/0.7142, allocations: 36.58 kB / 1.093 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.7142, allocations: 84.44 kB / 1.093 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.7143, allocations: 81.11 kB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.883e-05/0.7143, allocations: 155.5 kB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.95e-05/0.7143, allocations: 77.17 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.226e-05/0.7144, allocations: 160.4 kB / 1.094 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.7145, allocations: 76.25 kB / 1.094 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.7145, allocations: 84.84 kB / 1.094 GB, free: 15.21 MB / 0.8731 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.434e-05/0.7146, allocations: 258.2 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.7146, allocations: 107.1 kB / 1.094 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.7147, allocations: 110.5 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.955e-05/0.7147, allocations: 185.7 kB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.893e-05/0.7148, allocations: 182.7 kB / 1.095 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/0.7148, allocations: 186.1 kB / 1.095 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.715, allocations: 401.2 kB / 1.095 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/0.7151, allocations: 106.6 kB / 1.096 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.7151, allocations: 109.7 kB / 1.096 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-05/0.7151, allocations: 178.6 kB / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.7152, allocations: 185.9 kB / 1.096 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.894e-05/0.7152, allocations: 177.9 kB / 1.096 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.762e-05/0.7153, allocations: 185.9 kB / 1.096 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.7154, allocations: 304.7 kB / 1.097 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.7155, allocations: 189 kB / 1.097 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.7155, allocations: 178.6 kB / 1.097 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.7156, allocations: 102.5 kB / 1.097 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.7157, allocations: 182.1 kB / 1.097 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.7157, allocations: 106.9 kB / 1.097 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.7157, allocations: 82.02 kB / 1.097 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7157, allocations: 0 / 1.097 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003116/0.7161, allocations: 39.14 kB / 1.097 GB, free: 11.57 MB / 0.8731 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.0006437/0.7167, allocations: 0.9574 MB / 1.098 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.407e-05/0.7167, allocations: 1.156 kB / 1.098 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.7168, allocations: 0 / 1.098 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.7168, allocations: 1.188 kB / 1.098 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.7171, allocations: 464.6 kB / 1.099 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.718, allocations: 1.554 MB / 1.1 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.7182, allocations: 0.6745 MB / 1.101 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.778e-06/0.7182, allocations: 1.828 kB / 1.101 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.7182, allocations: 8.625 kB / 1.101 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.7183, allocations: 0 / 1.101 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.7374, allocations: 1.874 MB / 1.103 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/8.062, allocations: 11.47 kB / 1.103 GB, free: 7.52 MB / 0.8731 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