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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00112/0.00112, 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.001164/0.001164, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 62.47 kB / 0.9082 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3625, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.155/0.5175, allocations: 135.4 MB / 1.196 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.5178, allocations: 55.86 kB / 1.196 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.5178, allocations: 3.828 kB / 1.196 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.518, allocations: 3.938 kB / 1.196 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.5181, allocations: 15.91 kB / 1.196 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.519, allocations: 231 kB / 1.196 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.5191, allocations: 39.84 kB / 1.196 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.5192, allocations: 3.984 kB / 1.196 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.5192, allocations: 11.98 kB / 1.196 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.5193, allocations: 19.92 kB / 1.196 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.5193, allocations: 0 / 1.196 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.5199, allocations: 239.4 kB / 1.196 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.52, allocations: 8 kB / 1.196 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.52, allocations: 7.984 kB / 1.196 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.5204, allocations: 187.9 kB / 1.197 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5204, allocations: 0 / 1.197 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5205, allocations: 0 / 1.197 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5205, allocations: 3.938 kB / 1.197 GB, free: 5.809 MB / 0.9512 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.000454/0.5209, allocations: 359.5 kB / 1.197 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.521, allocations: 8.031 kB / 1.197 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.521, allocations: 34.69 kB / 1.197 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.5211, allocations: 8.938 kB / 1.197 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.5212, allocations: 168.2 kB / 1.197 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.5213, allocations: 30.02 kB / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.5213, allocations: 7.984 kB / 1.197 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5214, allocations: 45.62 kB / 1.197 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5214, allocations: 0 / 1.197 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5215, allocations: 0 / 1.197 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.5215, allocations: 4 kB / 1.197 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.395e-05/0.5216, allocations: 15.92 kB / 1.197 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.5224, allocations: 0.6028 MB / 1.198 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.5225, allocations: 22.56 kB / 1.198 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.5225, allocations: 4.859 kB / 1.198 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.5227, allocations: 332.5 kB / 1.198 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.5228, allocations: 38.56 kB / 1.198 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5228, allocations: 0 / 1.198 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001612/0.523, allocations: 37.64 kB / 1.198 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.523, allocations: 55.39 kB / 1.198 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.5231, allocations: 101.9 kB / 1.198 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5231, allocations: 25.7 kB / 1.198 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.5232, allocations: 84.05 kB / 1.199 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.5232, allocations: 11.89 kB / 1.199 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.5232, allocations: 21.84 kB / 1.199 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5233, allocations: 314.8 kB / 1.199 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.5234, allocations: 0 / 1.199 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.5234, allocations: 17.7 kB / 1.199 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.5234, allocations: 25.66 kB / 1.199 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5235, allocations: 0 / 1.199 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.535e-05/0.5235, allocations: 49.69 kB / 1.199 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5236, allocations: 8 kB / 1.199 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5236, allocations: 0 / 1.199 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5236, allocations: 0 / 1.199 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.5237, allocations: 7.938 kB / 1.199 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5237, allocations: 0 / 1.199 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.5237, allocations: 11.94 kB / 1.199 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.5237, allocations: 0 / 1.199 GB, free: 2.996 MB / 0.9512 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.879e-05/0.5238, allocations: 123.6 kB / 1.199 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.5238, allocations: 0 / 1.199 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.524, allocations: 116.9 kB / 1.199 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/0.524, allocations: 184.1 kB / 1.199 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-05/0.5241, allocations: 184.2 kB / 1.2 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-05/0.5242, allocations: 192.1 kB / 1.2 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.5245, allocations: 401.2 kB / 1.2 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/0.5245, allocations: 105 kB / 1.2 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.5245, allocations: 108.9 kB / 1.2 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.097e-05/0.5246, allocations: 176.3 kB / 1.201 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.5247, allocations: 180.2 kB / 1.201 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.33e-05/0.5248, allocations: 188.2 kB / 1.201 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.381e-05/0.5249, allocations: 176.5 kB / 1.201 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.525, allocations: 315.6 kB / 1.201 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.5251, allocations: 186 kB / 1.202 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.5252, allocations: 180.3 kB / 1.202 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.5254, allocations: 105 kB / 1.202 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.5254, allocations: 188.2 kB / 1.202 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.5255, allocations: 108.9 kB / 1.202 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.5255, allocations: 79.28 kB / 1.202 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5256, allocations: 0 / 1.202 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003442/0.5259, allocations: 59.92 kB / 1.202 GB, free: 15.49 MB / 0.9669 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.0006273/0.5265, allocations: 0.8833 MB / 1.203 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.5266, allocations: 8 kB / 1.203 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5266, allocations: 0 / 1.203 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/0.5266, allocations: 3.938 kB / 1.203 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.5271, allocations: 472.1 kB / 1.204 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5281, allocations: 1.348 MB / 1.205 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.5284, allocations: 0.6729 MB / 1.206 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.419e-05/0.5285, allocations: 4 kB / 1.206 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.5285, allocations: 15.38 kB / 1.206 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.5285, allocations: 0 / 1.206 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.5486, allocations: 2.196 MB / 1.208 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.436, allocations: 7.859 kB / 1.208 GB, free: 9.836 MB / 0.9669 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