Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.005327/0.005327, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.001156/0.001156, allocations: 192 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.584/2.584, allocations: 469.4 MB / 0.7422 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 71.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7859, allocations: 159.1 MB / 1.22 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1498/0.9358, allocations: 135.4 MB / 1.352 GB, free: 10.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001762/0.936, allocations: 63.84 kB / 1.352 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.936, allocations: 0 / 1.352 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.9361, allocations: 3.938 kB / 1.352 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.9363, allocations: 7.984 kB / 1.352 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.9371, allocations: 239 kB / 1.352 GB, free: 10.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.9372, allocations: 43.78 kB / 1.352 GB, free: 10.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.9372, allocations: 3.984 kB / 1.352 GB, free: 10 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.9373, allocations: 12 kB / 1.352 GB, free: 9.992 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.9374, allocations: 23.84 kB / 1.352 GB, free: 9.969 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.9374, allocations: 0 / 1.352 GB, free: 9.969 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.938, allocations: 235.5 kB / 1.353 GB, free: 9.738 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.938, allocations: 11.91 kB / 1.353 GB, free: 9.727 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.9381, allocations: 8 kB / 1.353 GB, free: 9.719 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.9385, allocations: 195.2 kB / 1.353 GB, free: 9.531 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9385, allocations: 0 / 1.353 GB, free: 9.531 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9385, allocations: 0 / 1.353 GB, free: 9.531 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.9385, allocations: 0 / 1.353 GB, free: 9.531 MB / 1.076 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.0004275/0.939, allocations: 361.8 kB / 1.353 GB, free: 9.133 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.939, allocations: 8.625 kB / 1.353 GB, free: 9.125 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.939, allocations: 38.75 kB / 1.353 GB, free: 9.078 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.9391, allocations: 0.9375 kB / 1.353 GB, free: 9.078 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.9393, allocations: 164.3 kB / 1.353 GB, free: 8.879 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.9394, allocations: 34.02 kB / 1.353 GB, free: 8.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.9394, allocations: 0 / 1.353 GB, free: 8.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.9395, allocations: 45.62 kB / 1.353 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.9395, allocations: 0 / 1.353 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.9395, allocations: 0 / 1.353 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.9396, allocations: 7.984 kB / 1.353 GB, free: 8.781 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.9396, allocations: 12 kB / 1.353 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.9404, allocations: 0.6066 MB / 1.354 GB, free: 8.039 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.9405, allocations: 18.58 kB / 1.354 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.9405, allocations: 8.797 kB / 1.354 GB, free: 8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.9407, allocations: 336.5 kB / 1.354 GB, free: 7.598 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.9407, allocations: 38.56 kB / 1.354 GB, free: 7.551 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.9408, allocations: 0 / 1.354 GB, free: 7.551 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.9409, allocations: 29.7 kB / 1.354 GB, free: 7.516 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.9409, allocations: 55.41 kB / 1.354 GB, free: 7.449 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.941, allocations: 105.8 kB / 1.355 GB, free: 7.336 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.9411, allocations: 25.7 kB / 1.355 GB, free: 7.305 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.9411, allocations: 88.09 kB / 1.355 GB, free: 7.215 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.9411, allocations: 128 / 1.355 GB, free: 7.215 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.9412, allocations: 29.66 kB / 1.355 GB, free: 7.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9413, allocations: 318.7 kB / 1.355 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.9413, allocations: 4 kB / 1.355 GB, free: 6.855 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.9414, allocations: 17.72 kB / 1.355 GB, free: 6.832 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.9414, allocations: 17.7 kB / 1.355 GB, free: 6.809 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9414, allocations: 4 kB / 1.355 GB, free: 6.805 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.091e-05/0.9415, allocations: 53.62 kB / 1.355 GB, free: 6.746 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.9415, allocations: 4 kB / 1.355 GB, free: 6.742 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.9415, allocations: 4 kB / 1.355 GB, free: 6.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.9416, allocations: 3.938 kB / 1.355 GB, free: 6.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.9416, allocations: 4 kB / 1.355 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9416, allocations: 4 kB / 1.355 GB, free: 6.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.9417, allocations: 3.938 kB / 1.355 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.9417, allocations: 0 / 1.355 GB, free: 6.723 MB / 1.076 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.0001322/0.9418, allocations: 118.4 kB / 1.355 GB, free: 6.598 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.9418, allocations: 0 / 1.355 GB, free: 6.598 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.9419, allocations: 120.9 kB / 1.355 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/0.942, allocations: 176.3 kB / 1.355 GB, free: 6.293 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.337e-05/0.9421, allocations: 188.2 kB / 1.356 GB, free: 6.102 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-05/0.9421, allocations: 188.2 kB / 1.356 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.9424, allocations: 409.1 kB / 1.356 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.541e-05/0.9425, allocations: 101 kB / 1.356 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.9425, allocations: 108.9 kB / 1.356 GB, free: 5.234 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.242e-05/0.9426, allocations: 184.2 kB / 1.357 GB, free: 5.047 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.9427, allocations: 176.3 kB / 1.357 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.967e-05/0.9428, allocations: 188.2 kB / 1.357 GB, free: 4.676 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-05/0.9429, allocations: 180.2 kB / 1.357 GB, free: 4.492 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.9431, allocations: 311.7 kB / 1.357 GB, free: 4.164 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.9432, allocations: 178.3 kB / 1.358 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.9433, allocations: 192.2 kB / 1.358 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.9435, allocations: 105 kB / 1.358 GB, free: 3.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.9435, allocations: 184.3 kB / 1.358 GB, free: 3.473 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.9436, allocations: 108.9 kB / 1.358 GB, free: 3.359 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.9436, allocations: 83.27 kB / 1.358 GB, free: 3.277 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9436, allocations: 0 / 1.358 GB, free: 3.277 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003588/0.944, allocations: 59.8 kB / 1.358 GB, free: 3.219 MB / 1.076 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.000603/0.9446, allocations: 0.8868 MB / 1.359 GB, free: 2.301 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.9447, allocations: 11.94 kB / 1.359 GB, free: 2.289 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9447, allocations: 0 / 1.359 GB, free: 2.289 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.9447, allocations: 0 / 1.359 GB, free: 2.289 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.9451, allocations: 463.6 kB / 1.36 GB, free: 1.832 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.9462, allocations: 1.359 MB / 1.361 GB, free: 396 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.9466, allocations: 0.6729 MB / 1.362 GB, free: 15.69 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.9467, allocations: 15.88 kB / 1.362 GB, free: 15.67 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.9467, allocations: 7.438 kB / 1.362 GB, free: 15.66 MB / 1.092 GB Notification: Performance of SimCode: time 2.61e-07/0.9467, allocations: 7.938 kB / 1.362 GB, free: 15.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.966, allocations: 2.203 MB / 1.364 GB, free: 13.56 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/8.364, allocations: 16.03 kB / 1.364 GB, free: 13.55 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches