Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.007057/0.007057, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.002036/0.002036, allocations: 197.1 kB / 16.67 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.499/1.499, 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 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2723, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004928/0.2773, allocations: 3.28 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.2774, allocations: 63.78 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.2774, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.832e-05/0.2775, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.2776, allocations: 19.91 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.2781, allocations: 183.2 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.191e-05/0.2782, allocations: 35.84 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.2782, allocations: 4 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.2783, allocations: 15.94 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.2784, allocations: 15.91 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.2784, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.2787, allocations: 167.6 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.2788, allocations: 8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2788, allocations: 11.92 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.2791, allocations: 143.7 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2791, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2791, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2791, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 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.0003949/0.2795, allocations: 347.3 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2796, allocations: 8.031 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.2796, allocations: 38.75 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.2796, allocations: 0.9375 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2798, allocations: 168.3 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.2798, allocations: 34.27 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2798, allocations: 4.125 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.28, allocations: 41.69 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.28, allocations: 0 / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.28, allocations: 0 / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.28, allocations: 7.938 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.2801, allocations: 11.98 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.2807, allocations: 0.5872 MB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.2808, allocations: 18.58 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.2808, allocations: 4.859 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.2811, allocations: 352.4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2811, allocations: 34.55 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.2811, allocations: 3.938 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.2812, allocations: 29.8 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2813, allocations: 59.44 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.2814, allocations: 101.8 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2814, allocations: 25.7 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.2815, allocations: 88.09 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.2815, allocations: 3.953 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.2815, allocations: 17.72 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2816, allocations: 318.8 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.2817, allocations: 8 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.2817, allocations: 17.72 kB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.2817, allocations: 25.58 kB / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2818, allocations: 0 / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.066e-05/0.2818, allocations: 49.58 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2819, allocations: 8 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2819, allocations: 4.062 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2819, allocations: 3.984 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.2819, allocations: 4 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2819, allocations: 7.984 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.282, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.282, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 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 7.81e-05/0.2821, allocations: 117.8 kB / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.2821, allocations: 0 / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.2822, allocations: 131.6 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.981e-05/0.2823, allocations: 180.3 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.347e-05/0.2824, allocations: 176.3 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-05/0.2824, allocations: 184.2 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.2827, allocations: 409.2 kB / 1.227 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.855e-05/0.2828, allocations: 116.9 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.2828, allocations: 101 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-05/0.2829, allocations: 176.3 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/0.283, allocations: 180.2 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.842e-05/0.283, allocations: 184.3 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-05/0.2831, allocations: 180.2 kB / 1.228 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.2833, allocations: 319.6 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.2834, allocations: 178.1 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.2835, allocations: 180.3 kB / 1.229 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2836, allocations: 112.9 kB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.2837, allocations: 184.3 kB / 1.229 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.2838, allocations: 104.9 kB / 1.229 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.2838, allocations: 87.27 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2838, allocations: 0 / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002807/0.2841, allocations: 39.75 kB / 1.23 GB, free: 4.035 MB / 0.9825 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.0005702/0.2847, allocations: 0.8638 MB / 1.23 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.2848, allocations: 15.94 kB / 1.23 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2848, allocations: 4.125 kB / 1.23 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.2848, allocations: 0 / 1.23 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.2852, allocations: 463 kB / 1.231 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.2863, allocations: 1.328 MB / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.2866, allocations: 0.6806 MB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.2867, allocations: 4.422 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.2867, allocations: 9.125 kB / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2867, allocations: 0 / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3085, allocations: 2.166 MB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.798, allocations: 16.12 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches