Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.005573/0.005573, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001326/0.001326, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7829/0.7848, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00601/0.7909, allocations: 4.023 MB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.7911, allocations: 151.5 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.7912, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.7913, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.7914, allocations: 19.91 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.7918, allocations: 79.69 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.7919, allocations: 31.86 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.7919, allocations: 4 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.792, allocations: 15.98 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.792, allocations: 15.92 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.7921, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.7923, allocations: 67.73 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.7923, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.7924, allocations: 7.984 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.7925, allocations: 46.56 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7925, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7925, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.7925, allocations: 0 / 1.224 GB, free: 13.52 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.000494/0.793, allocations: 332.4 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.7931, allocations: 8.625 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.7932, allocations: 38.75 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.7932, allocations: 0.9375 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.7934, allocations: 164.3 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.7935, allocations: 38.25 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.7935, allocations: 4.125 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.7936, allocations: 45.61 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7937, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.7937, allocations: 4 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.7937, allocations: 0 / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.7938, allocations: 19.98 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.7943, allocations: 338 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.7943, allocations: 14.58 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.7943, allocations: 16.86 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.234e-05/0.7944, allocations: 81.11 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.7945, allocations: 34.56 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.7945, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.7947, allocations: 41.69 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.7947, allocations: 55.34 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.7948, allocations: 105.8 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.7948, allocations: 29.64 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.7949, allocations: 84.09 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.7949, allocations: 3.953 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.795, allocations: 21.84 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7951, allocations: 318.8 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.7952, allocations: 7.938 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.7952, allocations: 13.72 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.7953, allocations: 21.72 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7953, allocations: 0 / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.579e-05/0.7954, allocations: 53.62 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7954, allocations: 4 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7954, allocations: 0 / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7954, allocations: 4 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.7955, allocations: 7.984 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7955, allocations: 0 / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.7955, allocations: 3.938 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.7955, allocations: 4 kB / 1.226 GB, free: 11.36 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.154e-05/0.7956, allocations: 109.8 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.7957, allocations: 12 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.7958, allocations: 116.9 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.681e-05/0.7959, allocations: 180.3 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.468e-05/0.796, allocations: 184.2 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.09e-05/0.796, allocations: 180.3 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.7963, allocations: 413.1 kB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/0.7964, allocations: 101 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.7965, allocations: 109 kB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.613e-05/0.7966, allocations: 188.2 kB / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.768e-05/0.7966, allocations: 176.3 kB / 1.228 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.052e-05/0.7967, allocations: 184.2 kB / 1.228 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.969e-05/0.7968, allocations: 176.3 kB / 1.228 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.7971, allocations: 319.6 kB / 1.229 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.7972, allocations: 178.1 kB / 1.229 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.7973, allocations: 180.2 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.7975, allocations: 113 kB / 1.229 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7977, allocations: 176.5 kB / 1.229 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.7978, allocations: 108.9 kB / 1.229 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.7978, allocations: 91.2 kB / 1.229 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7978, allocations: 0 / 1.229 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002649/0.7981, allocations: 19.88 kB / 1.229 GB, free: 7.895 MB / 0.9512 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.0006755/0.7988, allocations: 0.8287 MB / 1.23 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.7989, allocations: 15.94 kB / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7989, allocations: 0 / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.7989, allocations: 128 / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.7994, allocations: 463.7 kB / 1.231 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.8006, allocations: 1.324 MB / 1.232 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.8009, allocations: 0.6768 MB / 1.233 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.801, allocations: 11.94 kB / 1.233 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.801, allocations: 11.44 kB / 1.233 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.801, allocations: 0 / 1.233 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.8244, allocations: 1.511 MB / 1.234 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.955, allocations: 11.66 kB / 1.234 GB, free: 3.012 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches