Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001633/0.001633, allocations: 108 kB / 15.61 MB, free: 152 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.00189/0.00189, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.579/2.579, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.62, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1416/0.7616, allocations: 135.4 MB / 1.15 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.7618, allocations: 55.67 kB / 1.15 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.7619, allocations: 0 / 1.15 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.762, allocations: 4 kB / 1.15 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.785e-05/0.7621, allocations: 19.91 kB / 1.15 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008213/0.7629, allocations: 231 kB / 1.15 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.763, allocations: 39.69 kB / 1.15 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.7631, allocations: 3.984 kB / 1.15 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.7631, allocations: 19.98 kB / 1.15 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.7632, allocations: 7.984 kB / 1.15 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.7632, allocations: 0 / 1.15 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.7637, allocations: 247.4 kB / 1.15 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.7638, allocations: 7.922 kB / 1.15 GB, free: 10 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.7638, allocations: 7.984 kB / 1.15 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.7642, allocations: 197.8 kB / 1.15 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7642, allocations: 0 / 1.15 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7642, allocations: 0 / 1.15 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.7643, allocations: 0 / 1.15 GB, free: 9.805 MB / 0.9044 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.0004033/0.7647, allocations: 363.4 kB / 1.151 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.7647, allocations: 8.031 kB / 1.151 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.7648, allocations: 38.75 kB / 1.151 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.7648, allocations: 0.9375 kB / 1.151 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.7649, allocations: 160.4 kB / 1.151 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.765, allocations: 34.02 kB / 1.151 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.765, allocations: 0 / 1.151 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.7651, allocations: 49.66 kB / 1.151 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.7651, allocations: 7.984 kB / 1.151 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7651, allocations: 0 / 1.151 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.7652, allocations: 7.938 kB / 1.151 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.7652, allocations: 11.98 kB / 1.151 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.766, allocations: 0.5988 MB / 1.152 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.766, allocations: 22.58 kB / 1.152 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.766, allocations: 8.859 kB / 1.152 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.7662, allocations: 336.5 kB / 1.152 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.7663, allocations: 34.5 kB / 1.152 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7663, allocations: 0 / 1.152 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.7664, allocations: 33.7 kB / 1.152 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.7664, allocations: 55.41 kB / 1.152 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.7665, allocations: 97.84 kB / 1.152 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.7665, allocations: 33.83 kB / 1.152 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.7666, allocations: 88.05 kB / 1.152 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.7666, allocations: 3.938 kB / 1.152 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.7666, allocations: 17.7 kB / 1.152 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.7667, allocations: 318.8 kB / 1.153 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.7668, allocations: 4 kB / 1.153 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.7668, allocations: 17.7 kB / 1.153 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.7668, allocations: 25.66 kB / 1.153 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7668, allocations: 0 / 1.153 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.216e-05/0.7669, allocations: 53.62 kB / 1.153 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7669, allocations: 4 kB / 1.153 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7669, allocations: 0 / 1.153 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.767, allocations: 4 kB / 1.153 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.767, allocations: 4 kB / 1.153 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.767, allocations: 4 kB / 1.153 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.7671, allocations: 11.91 kB / 1.153 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.7671, allocations: 0 / 1.153 GB, free: 6.988 MB / 0.9044 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.199e-05/0.7671, allocations: 113.8 kB / 1.153 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.7672, allocations: 3.984 kB / 1.153 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.7673, allocations: 120.9 kB / 1.153 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/0.7673, allocations: 176.3 kB / 1.153 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-05/0.7674, allocations: 184.2 kB / 1.153 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-05/0.7674, allocations: 188.1 kB / 1.154 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.7677, allocations: 405.2 kB / 1.154 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.7677, allocations: 104.9 kB / 1.154 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.7677, allocations: 104.9 kB / 1.154 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-05/0.7678, allocations: 180.3 kB / 1.154 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.7678, allocations: 184.2 kB / 1.154 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-05/0.7679, allocations: 188.2 kB / 1.155 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.686e-05/0.7679, allocations: 180.2 kB / 1.155 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.7681, allocations: 311.7 kB / 1.155 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.7681, allocations: 182.1 kB / 1.155 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.7682, allocations: 180.5 kB / 1.155 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.7683, allocations: 104.9 kB / 1.156 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.7684, allocations: 180.3 kB / 1.156 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.7684, allocations: 116.9 kB / 1.156 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.7685, allocations: 87.28 kB / 1.156 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7685, allocations: 0 / 1.156 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003125/0.7688, allocations: 59.92 kB / 1.156 GB, free: 3.48 MB / 0.9044 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.0005228/0.7693, allocations: 0.8871 MB / 1.157 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.34e-05/0.7694, allocations: 7.938 kB / 1.157 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7694, allocations: 0 / 1.157 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.7694, allocations: 0 / 1.157 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.7698, allocations: 471.7 kB / 1.157 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.7708, allocations: 1.332 MB / 1.159 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.771, allocations: 0.6768 MB / 1.159 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.7711, allocations: 15.88 kB / 1.159 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.7711, allocations: 7.438 kB / 1.159 GB, free: 15.95 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.7711, allocations: 0 / 1.159 GB, free: 15.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.7906, allocations: 2.189 MB / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/8.012, allocations: 3.953 kB / 1.161 GB, free: 13.84 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches