Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.001747/0.001747, 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.001778/0.001778, allocations: 195.5 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.659/2.659, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6632, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006408/0.6697, allocations: 4.006 MB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00026/0.67, allocations: 163.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.67, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.6702, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.6704, allocations: 15.88 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.6709, allocations: 83.69 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.6711, allocations: 31.91 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.119e-05/0.6712, allocations: 7.984 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.6712, allocations: 11.98 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.6714, allocations: 11.92 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.6714, allocations: 7.938 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.6717, allocations: 59.81 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.6718, allocations: 7.984 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.6718, allocations: 11.98 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.672, allocations: 38.16 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.672, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.525e-06/0.672, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.672, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 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.0005633/0.6726, allocations: 335.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.6727, allocations: 8.031 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.6727, allocations: 38.75 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.6728, allocations: 4.938 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.6729, allocations: 160.4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.673, allocations: 30.27 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.6731, allocations: 4.125 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.6732, allocations: 45.62 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6733, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.6733, allocations: 3.984 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.6733, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/0.6734, allocations: 12 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.674, allocations: 337.9 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.6741, allocations: 18.52 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.6741, allocations: 16.91 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.6743, allocations: 81.11 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6743, allocations: 38.5 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.6743, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001956/0.6745, allocations: 37.69 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6746, allocations: 51.41 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.6746, allocations: 105.8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.6747, allocations: 29.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.6747, allocations: 88.03 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.6747, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.6748, allocations: 21.78 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6749, allocations: 318.8 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.6749, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.6749, allocations: 21.7 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.675, allocations: 21.72 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.675, allocations: 4 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.029e-05/0.6751, allocations: 53.53 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6751, allocations: 6.031 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6751, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6751, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.6752, allocations: 8 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.6752, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.6752, allocations: 7.938 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.6752, allocations: 7.984 kB / 1.024 GB, free: 11.84 MB / 0.7794 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.608e-05/0.6753, allocations: 109.8 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.6753, allocations: 4.062 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.6755, allocations: 120.9 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.479e-05/0.6755, allocations: 192.3 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-05/0.6756, allocations: 180.2 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.925e-05/0.6756, allocations: 176.3 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.6758, allocations: 417.1 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.6759, allocations: 101 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.6759, allocations: 101 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.6e-05/0.676, allocations: 180.2 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.676, allocations: 188.2 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.876e-05/0.6761, allocations: 180.2 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.14e-05/0.6761, allocations: 180.3 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.6763, allocations: 307.7 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.6763, allocations: 186.1 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.6764, allocations: 184.2 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.6766, allocations: 113 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.6766, allocations: 176.3 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.6767, allocations: 108.9 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.6767, allocations: 83.28 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6767, allocations: 7.938 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002537/0.677, allocations: 15.94 kB / 1.027 GB, free: 8.375 MB / 0.7794 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.0006461/0.6776, allocations: 0.8362 MB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.595e-05/0.6777, allocations: 11.94 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6778, allocations: 0 / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/0.6778, allocations: 128 / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.6782, allocations: 467.7 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.6793, allocations: 1.317 MB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.6795, allocations: 0.6768 MB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.6796, allocations: 11.84 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.6796, allocations: 11.44 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of SimCode: time 5.62e-07/0.6796, allocations: 0 / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.6961, allocations: 1.475 MB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/8.012, allocations: 12.02 kB / 1.031 GB, free: 3.504 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches