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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005619/0.005619, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.00164/0.00164, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.5/2.5, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.248, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5848/0.8328, allocations: 135.4 MB / 1.352 GB, free: 9.906 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.833, allocations: 55.67 kB / 1.352 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.833, allocations: 0 / 1.352 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.374e-05/0.8331, allocations: 2.312 kB / 1.352 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.8332, allocations: 10.3 kB / 1.352 GB, free: 9.871 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.8339, allocations: 237.7 kB / 1.353 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.834, allocations: 37.59 kB / 1.353 GB, free: 9.738 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 2.941e-05/0.834, allocations: 7.328 kB / 1.353 GB, free: 9.734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.8341, allocations: 11.09 kB / 1.353 GB, free: 9.734 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.8341, allocations: 16.41 kB / 1.353 GB, free: 9.727 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.8341, allocations: 5.188 kB / 1.353 GB, free: 9.723 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.8346, allocations: 239.2 kB / 1.353 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.8346, allocations: 8.234 kB / 1.353 GB, free: 9.629 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.8346, allocations: 14.12 kB / 1.353 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.835, allocations: 182.6 kB / 1.353 GB, free: 9.578 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.835, allocations: 0.75 kB / 1.353 GB, free: 9.578 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.835, allocations: 1.125 kB / 1.353 GB, free: 9.578 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.835, allocations: 0 / 1.353 GB, free: 9.578 MB / 1.061 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.0003642/0.8354, allocations: 362.3 kB / 1.353 GB, free: 9.203 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.8354, allocations: 12.97 kB / 1.353 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.8354, allocations: 36.64 kB / 1.354 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.8355, allocations: 2.312 kB / 1.354 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.8356, allocations: 169.7 kB / 1.354 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.8356, allocations: 27.11 kB / 1.354 GB, free: 8.926 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.8357, allocations: 4.688 kB / 1.354 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.8358, allocations: 44.94 kB / 1.354 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.8358, allocations: 3.938 kB / 1.354 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.8358, allocations: 1.094 kB / 1.354 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.8358, allocations: 5.062 kB / 1.354 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.8359, allocations: 16.81 kB / 1.354 GB, free: 8.875 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.8365, allocations: 0.5966 MB / 1.354 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.211e-05/0.8366, allocations: 16.27 kB / 1.354 GB, free: 8.195 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.8366, allocations: 5.953 kB / 1.354 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.8368, allocations: 342.7 kB / 1.355 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.8369, allocations: 40.22 kB / 1.355 GB, free: 7.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.8369, allocations: 0 / 1.355 GB, free: 7.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000111/0.837, allocations: 33.05 kB / 1.355 GB, free: 7.723 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.837, allocations: 52.5 kB / 1.355 GB, free: 7.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.8371, allocations: 107.2 kB / 1.355 GB, free: 7.555 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.8371, allocations: 25.7 kB / 1.355 GB, free: 7.523 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.8372, allocations: 90.98 kB / 1.355 GB, free: 7.434 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.8372, allocations: 1.219 kB / 1.355 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.8372, allocations: 22.7 kB / 1.355 GB, free: 7.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8373, allocations: 316.6 kB / 1.355 GB, free: 7.094 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.8374, allocations: 2.906 kB / 1.355 GB, free: 7.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.8374, allocations: 23.28 kB / 1.355 GB, free: 7.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.8374, allocations: 21.48 kB / 1.355 GB, free: 7.051 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8374, allocations: 0 / 1.355 GB, free: 7.051 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.47e-05/0.8375, allocations: 50.36 kB / 1.355 GB, free: 7.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.8375, allocations: 5.766 kB / 1.355 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.8375, allocations: 3.938 kB / 1.355 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.8375, allocations: 1.641 kB / 1.355 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.475e-05/0.8376, allocations: 6.078 kB / 1.355 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.8376, allocations: 0.5625 kB / 1.355 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.8376, allocations: 1.062 kB / 1.355 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8376, allocations: 10.7 kB / 1.356 GB, free: 7 MB / 1.061 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 6.705e-05/0.8377, allocations: 112.4 kB / 1.356 GB, free: 6.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.8377, allocations: 1.094 kB / 1.356 GB, free: 6.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.8378, allocations: 120 kB / 1.356 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-05/0.8379, allocations: 177.9 kB / 1.356 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.541e-05/0.838, allocations: 195.8 kB / 1.356 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-05/0.8381, allocations: 176.8 kB / 1.356 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.8383, allocations: 408.4 kB / 1.357 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/0.8383, allocations: 110.8 kB / 1.357 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.8384, allocations: 102.6 kB / 1.357 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-05/0.8384, allocations: 182 kB / 1.357 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.8385, allocations: 182.9 kB / 1.357 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-05/0.8386, allocations: 177.4 kB / 1.357 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.221e-05/0.8387, allocations: 182.1 kB / 1.358 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.8388, allocations: 321.6 kB / 1.358 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.8389, allocations: 184.5 kB / 1.358 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.94e-05/0.839, allocations: 182.3 kB / 1.358 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.8391, allocations: 109.1 kB / 1.358 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.8392, allocations: 182.1 kB / 1.358 GB, free: 3.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.8392, allocations: 106.8 kB / 1.359 GB, free: 3.695 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.8393, allocations: 86.36 kB / 1.359 GB, free: 3.617 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8393, allocations: 4 kB / 1.359 GB, free: 3.613 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002592/0.8396, allocations: 55.31 kB / 1.359 GB, free: 3.598 MB / 1.061 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.0005466/0.8401, allocations: 0.8801 MB / 1.36 GB, free: 2.762 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.646e-05/0.8402, allocations: 16.5 kB / 1.36 GB, free: 2.754 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.8402, allocations: 0 / 1.36 GB, free: 2.754 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.8402, allocations: 1.469 kB / 1.36 GB, free: 2.754 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.8406, allocations: 461.3 kB / 1.36 GB, free: 2.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.8415, allocations: 1.352 MB / 1.361 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.8418, allocations: 0.6735 MB / 1.362 GB, free: 264 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.8418, allocations: 10.75 kB / 1.362 GB, free: 260 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.8419, allocations: 12.5 kB / 1.362 GB, free: 248 kB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.8419, allocations: 5.031 kB / 1.362 GB, free: 244 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.588/2.43, allocations: 2.209 MB / 1.364 GB, free: 15.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/12.72, allocations: 11.27 kB / 1.364 GB, free: 15.75 MB / 1.076 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) 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) Reference file matches