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.007833/0.007834, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.002026/0.002026, allocations: 194.3 kB / 16.68 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.674/2.674, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2891, allocations: 151.6 MB / 1.166 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.7274/1.017, allocations: 135.4 MB / 1.298 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001538/1.017, allocations: 51.83 kB / 1.298 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/1.017, allocations: 0 / 1.298 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/1.017, allocations: 6.391 kB / 1.298 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/1.017, allocations: 17.27 kB / 1.298 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/1.018, allocations: 227.3 kB / 1.299 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.356e-05/1.018, allocations: 36.66 kB / 1.299 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/1.018, allocations: 2.672 kB / 1.299 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/1.018, allocations: 26.16 kB / 1.299 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/1.018, allocations: 11.89 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/1.018, allocations: 1.781 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/1.019, allocations: 237.8 kB / 1.299 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/1.019, allocations: 10.69 kB / 1.299 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/1.019, allocations: 9.109 kB / 1.299 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/1.019, allocations: 187.8 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.019, allocations: 1.406 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/1.019, allocations: 0 / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.019, allocations: 0 / 1.299 GB, free: 13.71 MB / 1.014 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.0004976/1.02, allocations: 369.1 kB / 1.299 GB, free: 13.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.02, allocations: 9.781 kB / 1.299 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/1.02, allocations: 35.64 kB / 1.3 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/1.02, allocations: 3.156 kB / 1.3 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.02, allocations: 166.9 kB / 1.3 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/1.02, allocations: 32.19 kB / 1.3 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/1.02, allocations: 5.25 kB / 1.3 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/1.02, allocations: 46.86 kB / 1.3 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/1.02, allocations: 6.062 kB / 1.3 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/1.02, allocations: 1.281 kB / 1.3 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/1.02, allocations: 2.031 kB / 1.3 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/1.02, allocations: 12.17 kB / 1.3 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/1.021, allocations: 0.6032 MB / 1.3 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.363e-05/1.021, allocations: 25.42 kB / 1.3 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/1.021, allocations: 9.453 kB / 1.3 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/1.022, allocations: 333.6 kB / 1.301 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/1.022, allocations: 32.5 kB / 1.301 GB, free: 11.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.022, allocations: 0 / 1.301 GB, free: 11.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/1.022, allocations: 36.97 kB / 1.301 GB, free: 11.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/1.022, allocations: 52.11 kB / 1.301 GB, free: 11.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.022, allocations: 106.2 kB / 1.301 GB, free: 11.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.022, allocations: 30.77 kB / 1.301 GB, free: 11.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/1.022, allocations: 85.97 kB / 1.301 GB, free: 11.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-06/1.022, allocations: 5.688 kB / 1.301 GB, free: 11.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/1.022, allocations: 17.73 kB / 1.301 GB, free: 11.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002269/1.022, allocations: 316.4 kB / 1.301 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/1.022, allocations: 3.812 kB / 1.301 GB, free: 11.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/1.022, allocations: 18.81 kB / 1.301 GB, free: 11.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/1.022, allocations: 24.41 kB / 1.301 GB, free: 11.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.022, allocations: 0 / 1.301 GB, free: 11.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.978e-05/1.023, allocations: 54.67 kB / 1.301 GB, free: 11.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.023, allocations: 6.188 kB / 1.301 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.023, allocations: 0.5156 kB / 1.301 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.023, allocations: 1.375 kB / 1.301 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/1.023, allocations: 5.953 kB / 1.301 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.023, allocations: 5.438 kB / 1.301 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/1.023, allocations: 0 / 1.301 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/1.023, allocations: 6.359 kB / 1.302 GB, free: 11.18 MB / 1.014 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.0001105/1.023, allocations: 109.1 kB / 1.302 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/1.023, allocations: 1.469 kB / 1.302 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/1.023, allocations: 121.8 kB / 1.302 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-05/1.023, allocations: 182.5 kB / 1.302 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.164e-05/1.023, allocations: 182.5 kB / 1.302 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.487e-05/1.023, allocations: 180.9 kB / 1.302 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/1.024, allocations: 415.7 kB / 1.303 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.054e-05/1.024, allocations: 104.5 kB / 1.303 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/1.024, allocations: 104.5 kB / 1.303 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.582e-05/1.024, allocations: 186.6 kB / 1.303 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/1.024, allocations: 178.9 kB / 1.303 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.688e-05/1.024, allocations: 181.4 kB / 1.303 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-05/1.024, allocations: 178.4 kB / 1.304 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/1.024, allocations: 316.8 kB / 1.304 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/1.024, allocations: 184.9 kB / 1.304 GB, free: 8.477 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.024, allocations: 190.8 kB / 1.304 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/1.025, allocations: 108.7 kB / 1.304 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.025, allocations: 178.9 kB / 1.304 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/1.025, allocations: 105.7 kB / 1.305 GB, free: 7.895 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.725e-05/1.025, allocations: 97.52 kB / 1.305 GB, free: 7.809 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.025, allocations: 3.938 kB / 1.305 GB, free: 7.805 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003281/1.025, allocations: 55.08 kB / 1.305 GB, free: 7.793 MB / 1.014 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.0007557/1.026, allocations: 0.877 MB / 1.306 GB, free: 6.969 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.218e-05/1.026, allocations: 13 kB / 1.306 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.026, allocations: 0 / 1.306 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/1.026, allocations: 0 / 1.306 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/1.027, allocations: 467.2 kB / 1.306 GB, free: 6.516 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.028, allocations: 1.34 MB / 1.307 GB, free: 5.195 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.028, allocations: 0.674 MB / 1.308 GB, free: 4.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.945e-05/1.028, allocations: 13.19 kB / 1.308 GB, free: 4.492 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/1.028, allocations: 12 kB / 1.308 GB, free: 4.484 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/1.028, allocations: 1.562 kB / 1.308 GB, free: 4.484 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/1.053, allocations: 2.206 MB / 1.31 GB, free: 4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/9.22, allocations: 9.266 kB / 1.31 GB, free: 3.996 MB / 1.014 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