Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 212 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 66.73 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3442, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1734/0.5177, allocations: 119 MB / 1.399 GB, free: 5.027 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.5179, allocations: 47.89 kB / 1.399 GB, free: 4.98 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.5179, allocations: 0 / 1.399 GB, free: 4.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.518, allocations: 7.922 kB / 1.399 GB, free: 4.973 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.5181, allocations: 11.92 kB / 1.399 GB, free: 4.961 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.5195, allocations: 251 kB / 1.399 GB, free: 4.715 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.5196, allocations: 31.86 kB / 1.399 GB, free: 4.684 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.5196, allocations: 3.984 kB / 1.399 GB, free: 4.68 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.5197, allocations: 15.83 kB / 1.399 GB, free: 4.668 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.5198, allocations: 11.98 kB / 1.399 GB, free: 4.656 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.5198, allocations: 3.984 kB / 1.399 GB, free: 4.652 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006002/0.5204, allocations: 183.5 kB / 1.399 GB, free: 4.473 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.5205, allocations: 3.984 kB / 1.399 GB, free: 4.469 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.5205, allocations: 11.92 kB / 1.399 GB, free: 4.457 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.521, allocations: 168.8 kB / 1.399 GB, free: 4.297 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.521, allocations: 4 kB / 1.399 GB, free: 4.293 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.733e-06/0.521, allocations: 0 / 1.399 GB, free: 4.293 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.521, allocations: 3.938 kB / 1.399 GB, free: 4.289 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005548/0.5216, allocations: 282.1 kB / 1.4 GB, free: 3.984 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.5217, allocations: 12.03 kB / 1.4 GB, free: 3.973 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.5217, allocations: 30.75 kB / 1.4 GB, free: 3.934 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5218, allocations: 8.891 kB / 1.4 GB, free: 3.926 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.5219, allocations: 110.5 kB / 1.4 GB, free: 3.793 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.522, allocations: 55.72 kB / 1.4 GB, free: 3.727 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.522, allocations: 4 kB / 1.4 GB, free: 3.723 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.5222, allocations: 83.34 kB / 1.4 GB, free: 3.629 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5222, allocations: 0 / 1.4 GB, free: 3.629 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5222, allocations: 0 / 1.4 GB, free: 3.629 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5222, allocations: 3.938 kB / 1.4 GB, free: 3.625 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.5223, allocations: 19.98 kB / 1.4 GB, free: 3.605 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.5232, allocations: 268 kB / 1.4 GB, free: 3.301 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.077e-05/0.5232, allocations: 14.58 kB / 1.4 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.5233, allocations: 8.922 kB / 1.4 GB, free: 3.266 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.5234, allocations: 35.97 kB / 1.4 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.5234, allocations: 34.5 kB / 1.4 GB, free: 3.188 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.5234, allocations: 0 / 1.4 GB, free: 3.188 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.5236, allocations: 33.7 kB / 1.4 GB, free: 3.148 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.5237, allocations: 55.41 kB / 1.4 GB, free: 3.082 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5238, allocations: 105.8 kB / 1.401 GB, free: 2.969 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.5238, allocations: 25.7 kB / 1.401 GB, free: 2.938 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.5239, allocations: 84.14 kB / 1.401 GB, free: 2.852 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.5239, allocations: 7.891 kB / 1.401 GB, free: 2.844 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.5239, allocations: 17.7 kB / 1.401 GB, free: 2.82 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.5241, allocations: 330.8 kB / 1.401 GB, free: 2.488 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.5241, allocations: 0 / 1.401 GB, free: 2.488 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.5242, allocations: 13.72 kB / 1.401 GB, free: 2.469 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.5242, allocations: 29.64 kB / 1.401 GB, free: 2.434 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5242, allocations: 0 / 1.401 GB, free: 2.434 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.5243, allocations: 49.62 kB / 1.401 GB, free: 2.379 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5244, allocations: 8 kB / 1.401 GB, free: 2.371 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5244, allocations: 0 / 1.401 GB, free: 2.371 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5244, allocations: 4.062 kB / 1.401 GB, free: 2.367 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.5244, allocations: 4 kB / 1.401 GB, free: 2.363 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5244, allocations: 0 / 1.401 GB, free: 2.363 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.5245, allocations: 7.938 kB / 1.401 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5245, allocations: 0 / 1.401 GB, free: 2.355 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 0.0001041/0.5246, allocations: 109.8 kB / 1.401 GB, free: 2.238 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.5246, allocations: 7.938 kB / 1.401 GB, free: 2.23 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.5248, allocations: 120.9 kB / 1.401 GB, free: 2.102 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.747e-05/0.5249, allocations: 176.3 kB / 1.402 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001048/0.525, allocations: 184.3 kB / 1.402 GB, free: 1.734 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/0.5251, allocations: 188.1 kB / 1.402 GB, free: 1.543 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.5254, allocations: 372.3 kB / 1.402 GB, free: 1.129 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.175e-05/0.5255, allocations: 104.9 kB / 1.402 GB, free: 1.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.5255, allocations: 112.9 kB / 1.402 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-05/0.5256, allocations: 176.3 kB / 1.403 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/0.5257, allocations: 184.2 kB / 1.403 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.872e-05/0.5258, allocations: 184.3 kB / 1.403 GB, free: 356 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.143e-05/0.5259, allocations: 184.2 kB / 1.403 GB, free: 164 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.5261, allocations: 311.9 kB / 1.403 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.5262, allocations: 105.3 kB / 1.404 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5263, allocations: 184.3 kB / 1.404 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.5265, allocations: 112.9 kB / 1.404 GB, free: 15.42 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.5266, allocations: 180.2 kB / 1.404 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.5267, allocations: 112.9 kB / 1.404 GB, free: 15.12 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.548e-05/0.5267, allocations: 87.27 kB / 1.404 GB, free: 15.03 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.5267, allocations: 0 / 1.404 GB, free: 15.03 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003085/0.5271, allocations: 55.75 kB / 1.404 GB, free: 14.98 MB / 1.107 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.0006685/0.5277, allocations: 0.8904 MB / 1.405 GB, free: 14.05 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.102e-05/0.5278, allocations: 7.938 kB / 1.405 GB, free: 14.05 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5278, allocations: 0 / 1.405 GB, free: 14.05 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5278, allocations: 0 / 1.405 GB, free: 14.05 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.5283, allocations: 467.6 kB / 1.406 GB, free: 13.59 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5295, allocations: 1.34 MB / 1.407 GB, free: 12.16 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.5295, allocations: 59.34 kB / 1.407 GB, free: 12.08 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.5296, allocations: 8 kB / 1.407 GB, free: 12.07 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.5296, allocations: 7.438 kB / 1.407 GB, free: 12.06 MB / 1.107 GB Notification: Performance of SimCode: time 3.71e-07/0.5296, allocations: 0 / 1.407 GB, free: 12.06 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.5585, allocations: 2.766 MB / 1.41 GB, free: 9.434 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.93, allocations: 3.234 kB / 1.41 GB, free: 9.434 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.7227073200047]