Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001165/0.001165, allocations: 198 kB / 16.54 MB, free: 6.672 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 61.86 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2974, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004316/0.3018, allocations: 3.286 MB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.585e-05/0.3019, allocations: 47.86 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.3019, allocations: 0 / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.495e-05/0.302, allocations: 3.984 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.3021, allocations: 15.92 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.3025, allocations: 187.2 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.3026, allocations: 31.84 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.829e-05/0.3026, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.3027, allocations: 15.98 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.3027, allocations: 15.92 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3028, allocations: 4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.3031, allocations: 171.6 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.3031, allocations: 3.984 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.3032, allocations: 15.92 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.3034, allocations: 136 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3034, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3034, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3035, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8262 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.0003324/0.3038, allocations: 343.5 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3038, allocations: 16.02 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.3039, allocations: 34.75 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3039, allocations: 8.875 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.304, allocations: 164.3 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.3041, allocations: 30.27 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3041, allocations: 4.125 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.3042, allocations: 41.62 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.3042, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3042, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3043, allocations: 8 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.3043, allocations: 15.98 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.3049, allocations: 0.5794 MB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.3049, allocations: 26.52 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.3049, allocations: 4.859 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.3051, allocations: 348.4 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3052, allocations: 38.56 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3052, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.3053, allocations: 37.69 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.3054, allocations: 51.41 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.3054, allocations: 101.8 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3054, allocations: 25.7 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3055, allocations: 91.98 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-06/0.3055, allocations: 8.031 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.3055, allocations: 25.64 kB / 1.069 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.3056, allocations: 314.8 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.3057, allocations: 4 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.3057, allocations: 21.7 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.479e-05/0.3057, allocations: 17.72 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3057, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.563e-05/0.3058, allocations: 53.62 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3058, allocations: 5.406 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3058, allocations: 4 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.3059, allocations: 3.938 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.3059, allocations: 8 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3059, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.3059, allocations: 3.938 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3059, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 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.741e-05/0.306, allocations: 125.8 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3061, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.33e-05/0.3061, allocations: 119 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/0.3062, allocations: 176.3 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.177e-05/0.3063, allocations: 188.2 kB / 1.07 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-05/0.3063, allocations: 184.3 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3065, allocations: 409.1 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/0.3065, allocations: 101.1 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.3066, allocations: 109 kB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.852e-05/0.3066, allocations: 180.2 kB / 1.071 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.3067, allocations: 180.3 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.814e-05/0.3067, allocations: 188.2 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-05/0.3068, allocations: 176.3 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.3069, allocations: 311.6 kB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.307, allocations: 186.1 kB / 1.072 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.307, allocations: 188.2 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3072, allocations: 105 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.3072, allocations: 180.3 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.3073, allocations: 108.9 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.3073, allocations: 79.28 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3073, allocations: 0 / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002741/0.3076, allocations: 35.94 kB / 1.073 GB, free: 4.332 MB / 0.8262 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.0004427/0.3081, allocations: 0.8678 MB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.3081, allocations: 15.92 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3081, allocations: 3.938 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3081, allocations: 3.938 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.3085, allocations: 469.8 kB / 1.074 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.3094, allocations: 1.324 MB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.3096, allocations: 0.6768 MB / 1.076 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.3097, allocations: 9.406 kB / 1.076 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.3097, allocations: 7.438 kB / 1.076 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3097, allocations: 4 kB / 1.076 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.3257, allocations: 2.15 MB / 1.078 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.363, allocations: 8.891 kB / 1.078 GB, free: 14.84 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches