Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.004755/0.004755, allocations: 102.3 kB / 15.73 MB, free: 6.5 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.001361/0.001361, allocations: 199 kB / 16.68 MB, free: 6.375 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.67 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2375, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1305/0.368, allocations: 135.4 MB / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.3682, allocations: 51.83 kB / 1.22 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.3683, allocations: 8 kB / 1.22 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.3684, allocations: 0 / 1.22 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.3685, allocations: 3.938 kB / 1.22 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.3693, allocations: 255.6 kB / 1.22 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.3694, allocations: 35.91 kB / 1.22 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.3694, allocations: 0 / 1.22 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.3695, allocations: 19.92 kB / 1.22 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.3695, allocations: 15.91 kB / 1.22 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3696, allocations: 0 / 1.22 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.37, allocations: 251.4 kB / 1.22 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.37, allocations: 0 / 1.22 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.3701, allocations: 15.94 kB / 1.22 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.3704, allocations: 183.9 kB / 1.221 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3704, allocations: 8 kB / 1.221 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3704, allocations: 0 / 1.221 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3705, allocations: 0 / 1.221 GB, free: 9.191 MB / 0.9825 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.0004177/0.3709, allocations: 363.1 kB / 1.221 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3709, allocations: 8.031 kB / 1.221 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.371, allocations: 34.69 kB / 1.221 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.371, allocations: 8.891 kB / 1.221 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3711, allocations: 164.4 kB / 1.221 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.3712, allocations: 30.02 kB / 1.221 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3712, allocations: 8 kB / 1.221 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3713, allocations: 45.67 kB / 1.221 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3713, allocations: 0 / 1.221 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3714, allocations: 0 / 1.221 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.3714, allocations: 4 kB / 1.221 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.3714, allocations: 11.98 kB / 1.221 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.3722, allocations: 0.6067 MB / 1.222 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.3723, allocations: 18.58 kB / 1.222 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.3723, allocations: 4.859 kB / 1.222 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.3725, allocations: 332.5 kB / 1.222 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3725, allocations: 34.56 kB / 1.222 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3725, allocations: 0 / 1.222 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.3727, allocations: 37.64 kB / 1.222 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3727, allocations: 55.53 kB / 1.222 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.3728, allocations: 109.8 kB / 1.222 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3728, allocations: 25.7 kB / 1.222 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.3729, allocations: 84.09 kB / 1.222 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-06/0.3729, allocations: 7.953 kB / 1.222 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3729, allocations: 21.7 kB / 1.222 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.373, allocations: 314.8 kB / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.373, allocations: 0 / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.3731, allocations: 21.7 kB / 1.223 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.3731, allocations: 25.66 kB / 1.223 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3731, allocations: 0 / 1.223 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.504e-05/0.3732, allocations: 45.69 kB / 1.223 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3732, allocations: 8 kB / 1.223 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3732, allocations: 0 / 1.223 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3732, allocations: 8 kB / 1.223 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.3733, allocations: 7.938 kB / 1.223 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3733, allocations: 0 / 1.223 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.3733, allocations: 11.88 kB / 1.223 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.3734, allocations: 0 / 1.223 GB, free: 6.375 MB / 0.9825 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 7.704e-05/0.3734, allocations: 113.8 kB / 1.223 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3735, allocations: 7.938 kB / 1.223 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.3736, allocations: 117 kB / 1.223 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-05/0.3737, allocations: 180.5 kB / 1.223 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.398e-05/0.3737, allocations: 176.3 kB / 1.223 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.536e-05/0.3738, allocations: 196.1 kB / 1.224 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.374, allocations: 401.2 kB / 1.224 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-05/0.3741, allocations: 109 kB / 1.224 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.3741, allocations: 112.9 kB / 1.224 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-05/0.3741, allocations: 176.3 kB / 1.224 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.3742, allocations: 180.2 kB / 1.225 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.731e-05/0.3742, allocations: 184.4 kB / 1.225 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-05/0.3743, allocations: 176.3 kB / 1.225 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3744, allocations: 315.7 kB / 1.225 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3745, allocations: 190 kB / 1.225 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.3745, allocations: 180.3 kB / 1.226 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3747, allocations: 101 kB / 1.226 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.3748, allocations: 192.2 kB / 1.226 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.3748, allocations: 108.9 kB / 1.226 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.3748, allocations: 79.28 kB / 1.226 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3748, allocations: 0 / 1.226 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003142/0.3752, allocations: 63.73 kB / 1.226 GB, free: 2.863 MB / 0.9825 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.0005305/0.3757, allocations: 0.8826 MB / 1.227 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.37e-05/0.3758, allocations: 8 kB / 1.227 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3758, allocations: 7.938 kB / 1.227 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.3758, allocations: 8.062 kB / 1.227 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3762, allocations: 463.6 kB / 1.227 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.3772, allocations: 1.344 MB / 1.229 GB, free: 40 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3774, allocations: 0.6807 MB / 1.229 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.3775, allocations: 4 kB / 1.229 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.3775, allocations: 11.44 kB / 1.229 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3775, allocations: 0 / 1.229 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.3938, allocations: 2.212 MB / 1.232 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.589, allocations: 9.188 kB / 1.232 GB, free: 13.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches