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.006615/0.006615, allocations: 99.72 kB / 15.73 MB, free: 6.48 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: 193.5 kB / 16.68 MB, free: 6.363 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.792/2.792, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00569/0.3024, allocations: 4.016 MB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002149/0.3026, allocations: 159.5 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.3026, allocations: 4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3027, allocations: 7.922 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.3028, allocations: 7.984 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3032, allocations: 75.69 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.3033, allocations: 35.86 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.3033, allocations: 3.984 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.3034, allocations: 19.92 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.3035, allocations: 15.98 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3035, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.3037, allocations: 63.8 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.3037, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.3038, allocations: 11.88 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.3039, allocations: 44.17 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3039, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3039, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3039, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 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.0004275/0.3044, allocations: 343.4 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3044, allocations: 12.03 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.3045, allocations: 34.69 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.3045, allocations: 0.9375 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3046, allocations: 164.4 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.3047, allocations: 30.27 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.3047, allocations: 4.125 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3049, allocations: 41.69 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3049, allocations: 0 / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3049, allocations: 4 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.3049, allocations: 3.984 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.305, allocations: 16 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.3055, allocations: 337.9 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.3055, allocations: 18.58 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.3055, allocations: 8.844 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.3056, allocations: 89.16 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3057, allocations: 34.56 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3057, allocations: 0 / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.3059, allocations: 41.62 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3059, allocations: 51.41 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.306, allocations: 101.9 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.306, allocations: 25.7 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.3061, allocations: 96.14 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.3061, allocations: 4 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.3062, allocations: 21.67 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3063, allocations: 314.8 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.3063, allocations: 0 / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.3064, allocations: 17.7 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.3064, allocations: 33.66 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3064, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.919e-05/0.3065, allocations: 45.69 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3065, allocations: 8 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3065, allocations: 0 / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3066, allocations: 0 / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.3066, allocations: 11.88 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3066, allocations: 0 / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.3066, allocations: 4 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3067, allocations: 11.98 kB / 1.172 GB, free: 0.6211 MB / 0.92 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.129e-05/0.3067, allocations: 113.8 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3068, allocations: 4 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.3069, allocations: 113 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.578e-05/0.307, allocations: 184.5 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.737e-05/0.3071, allocations: 176.3 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.803e-05/0.3072, allocations: 196.2 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.3074, allocations: 401.2 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/0.3075, allocations: 109 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.3076, allocations: 104.9 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.843e-05/0.3076, allocations: 180.3 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.3077, allocations: 188.2 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.919e-05/0.3078, allocations: 180.3 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-05/0.3079, allocations: 176.3 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.3081, allocations: 311.7 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.3082, allocations: 186 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.3083, allocations: 184.3 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.3084, allocations: 101 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.3085, allocations: 188.2 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.3086, allocations: 105 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.3086, allocations: 83.28 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3086, allocations: 0 / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000257/0.3089, allocations: 23.88 kB / 1.175 GB, free: 13.16 MB / 0.9356 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.0006028/0.3095, allocations: 0.836 MB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.821e-05/0.3096, allocations: 12 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3096, allocations: 0 / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-06/0.3096, allocations: 3.938 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3101, allocations: 455.7 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3112, allocations: 1.329 MB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3115, allocations: 0.669 MB / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.3115, allocations: 15.92 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.3116, allocations: 7.438 kB / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.3116, allocations: 0 / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.3339, allocations: 1.508 MB / 1.18 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.389, allocations: 10.77 kB / 1.18 GB, free: 8.281 MB / 0.9356 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