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.001699/0.001699, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001777/0.001777, allocations: 216.2 kB / 22.25 MB, free: 4.852 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.789 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.822/2.822, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] 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.00228/0.00228, allocations: 64.8 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3654, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.163/0.5284, allocations: 119 MB / 1.399 GB, free: 5.023 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.5286, allocations: 63.72 kB / 1.399 GB, free: 4.961 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.5286, allocations: 3.938 kB / 1.399 GB, free: 4.957 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.5287, allocations: 4 kB / 1.399 GB, free: 4.953 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.5288, allocations: 15.91 kB / 1.399 GB, free: 4.938 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.5298, allocations: 243 kB / 1.399 GB, free: 4.699 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.5299, allocations: 35.86 kB / 1.399 GB, free: 4.664 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.5299, allocations: 0 / 1.399 GB, free: 4.664 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.53, allocations: 19.97 kB / 1.399 GB, free: 4.645 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.53, allocations: 11.92 kB / 1.399 GB, free: 4.633 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.53, allocations: 0 / 1.399 GB, free: 4.633 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.5305, allocations: 183.5 kB / 1.399 GB, free: 4.453 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.5305, allocations: 3.984 kB / 1.399 GB, free: 4.449 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.5305, allocations: 15.98 kB / 1.399 GB, free: 4.434 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.5309, allocations: 172.8 kB / 1.399 GB, free: 4.27 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5309, allocations: 0 / 1.399 GB, free: 4.27 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5309, allocations: 0 / 1.399 GB, free: 4.27 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5309, allocations: 0 / 1.399 GB, free: 4.27 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.000451/0.5313, allocations: 282.1 kB / 1.4 GB, free: 3.965 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5314, allocations: 8.031 kB / 1.4 GB, free: 3.957 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.5314, allocations: 34.73 kB / 1.4 GB, free: 3.914 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.5315, allocations: 8.891 kB / 1.4 GB, free: 3.906 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5316, allocations: 106.5 kB / 1.4 GB, free: 3.777 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.5317, allocations: 55.72 kB / 1.4 GB, free: 3.711 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.5317, allocations: 4 kB / 1.4 GB, free: 3.707 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.5319, allocations: 71.39 kB / 1.4 GB, free: 3.625 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5319, allocations: 0 / 1.4 GB, free: 3.625 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.5319, allocations: 7.938 kB / 1.4 GB, free: 3.617 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.5319, allocations: 4 kB / 1.4 GB, free: 3.613 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.5319, allocations: 11.98 kB / 1.4 GB, free: 3.602 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.5327, allocations: 279.8 kB / 1.4 GB, free: 3.285 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/0.5327, allocations: 22.61 kB / 1.4 GB, free: 3.254 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.5327, allocations: 4.859 kB / 1.4 GB, free: 3.246 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.567e-05/0.5328, allocations: 28.05 kB / 1.4 GB, free: 3.219 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.5328, allocations: 38.5 kB / 1.4 GB, free: 3.172 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5328, allocations: 0 / 1.4 GB, free: 3.172 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.533, allocations: 37.69 kB / 1.4 GB, free: 3.129 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.5331, allocations: 51.41 kB / 1.4 GB, free: 3.066 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.5332, allocations: 105.8 kB / 1.401 GB, free: 2.953 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5332, allocations: 25.7 kB / 1.401 GB, free: 2.922 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.5332, allocations: 84.12 kB / 1.401 GB, free: 2.836 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.5333, allocations: 11.89 kB / 1.401 GB, free: 2.824 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.5333, allocations: 13.72 kB / 1.401 GB, free: 2.805 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5334, allocations: 326.8 kB / 1.401 GB, free: 2.477 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.5335, allocations: 3.984 kB / 1.401 GB, free: 2.473 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.5335, allocations: 25.66 kB / 1.401 GB, free: 2.441 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.5335, allocations: 13.72 kB / 1.401 GB, free: 2.422 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5335, allocations: 0 / 1.401 GB, free: 2.422 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.156e-05/0.5336, allocations: 53.62 kB / 1.401 GB, free: 2.363 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5336, allocations: 4 kB / 1.401 GB, free: 2.359 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5336, allocations: 0 / 1.401 GB, free: 2.359 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5336, allocations: 4.062 kB / 1.401 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.5337, allocations: 11.98 kB / 1.401 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5337, allocations: 0 / 1.401 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.5337, allocations: 3.938 kB / 1.401 GB, free: 2.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.5337, allocations: 3.984 kB / 1.401 GB, free: 2.336 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 8.51e-05/0.5338, allocations: 113.8 kB / 1.401 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.5339, allocations: 3.953 kB / 1.401 GB, free: 2.211 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.534, allocations: 120.9 kB / 1.401 GB, free: 2.082 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.582e-05/0.5341, allocations: 180.5 kB / 1.402 GB, free: 1.898 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.653e-05/0.5342, allocations: 188.2 kB / 1.402 GB, free: 1.707 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.35e-05/0.5342, allocations: 180.2 kB / 1.402 GB, free: 1.523 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.5345, allocations: 376.3 kB / 1.402 GB, free: 1.105 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.856e-05/0.5345, allocations: 116.9 kB / 1.402 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.5346, allocations: 101 kB / 1.402 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.017e-05/0.5347, allocations: 180.2 kB / 1.403 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/0.5348, allocations: 184.2 kB / 1.403 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.707e-05/0.5348, allocations: 180.3 kB / 1.403 GB, free: 332 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.907e-05/0.5349, allocations: 180.2 kB / 1.403 GB, free: 144 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.5351, allocations: 311.9 kB / 1.403 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.5352, allocations: 105 kB / 1.404 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/0.5353, allocations: 188.3 kB / 1.404 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.5354, allocations: 112.9 kB / 1.404 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.5355, allocations: 184.2 kB / 1.404 GB, free: 15.21 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.5356, allocations: 108.9 kB / 1.404 GB, free: 15.09 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.5357, allocations: 79.28 kB / 1.404 GB, free: 15.02 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5357, allocations: 0 / 1.404 GB, free: 15.02 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003375/0.536, allocations: 63.73 kB / 1.404 GB, free: 14.95 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.000749/0.5367, allocations: 0.8788 MB / 1.405 GB, free: 14.04 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.789e-05/0.5368, allocations: 11.94 kB / 1.405 GB, free: 14.03 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5368, allocations: 4 kB / 1.405 GB, free: 14.03 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5368, allocations: 0 / 1.405 GB, free: 14.03 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.5373, allocations: 467.5 kB / 1.406 GB, free: 13.57 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5386, allocations: 1.34 MB / 1.407 GB, free: 12.14 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.744e-05/0.5386, allocations: 63.28 kB / 1.407 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.5387, allocations: 7.938 kB / 1.407 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.5387, allocations: 11.42 kB / 1.407 GB, free: 12.04 MB / 1.107 GB Notification: Performance of SimCode: time 5.31e-07/0.5387, allocations: 0 / 1.407 GB, free: 12.04 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.5756, allocations: 2.754 MB / 1.41 GB, free: 9.418 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.74, allocations: 9.859 kB / 1.41 GB, free: 9.414 MB / 1.107 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.54666450433433]