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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.006578/0.006578, allocations: 97.61 kB / 15.73 MB, free: 6.055 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.001569/0.001569, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.345/1.345, 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 11.1.0-master/package.mo): time 2.746/2.746, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2722, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004709/0.2769, allocations: 3.288 MB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.2771, allocations: 59.86 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.2771, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.759e-05/0.2772, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.2773, allocations: 15.91 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.2778, allocations: 193.8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.2779, allocations: 35.84 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.278, allocations: 8 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.278, allocations: 11.98 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.2781, allocations: 15.92 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2781, allocations: 4 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.2785, allocations: 167.6 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.2785, allocations: 15.97 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.2785, allocations: 7.938 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.2788, allocations: 131.7 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2788, allocations: 4 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2788, allocations: 0 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2788, allocations: 0 / 1.224 GB, free: 10.7 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.0003839/0.2792, allocations: 343.3 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2793, allocations: 16.03 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.2793, allocations: 34.73 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.2794, allocations: 0.9375 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2795, allocations: 172.3 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.2795, allocations: 26.27 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2795, allocations: 4.125 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2797, allocations: 49.62 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2797, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2797, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.2797, allocations: 4 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.2798, allocations: 19.97 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.2804, allocations: 0.5871 MB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.2804, allocations: 18.52 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.2804, allocations: 8.922 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.2806, allocations: 348.3 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2807, allocations: 34.56 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.2807, allocations: 0 / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.2808, allocations: 33.7 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.2809, allocations: 51.41 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.2809, allocations: 105.8 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.281, allocations: 25.7 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.281, allocations: 84.09 kB / 1.225 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.281, allocations: 12.08 kB / 1.225 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.2811, allocations: 21.64 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.2811, allocations: 314.8 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.2812, allocations: 8 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.2812, allocations: 13.72 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.2812, allocations: 25.7 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2812, allocations: 4 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.717e-05/0.2813, allocations: 45.62 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2813, allocations: 4 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2814, allocations: 0 / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2814, allocations: 4 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.2814, allocations: 11.94 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2814, allocations: 0 / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.2815, allocations: 0 / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2815, allocations: 4 kB / 1.226 GB, free: 7.902 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 6.168e-05/0.2815, allocations: 114.4 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.2816, allocations: 7.984 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.2817, allocations: 124.2 kB / 1.226 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/0.2817, allocations: 180.3 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-05/0.2818, allocations: 180.2 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.742e-05/0.2818, allocations: 184.2 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.282, allocations: 413.1 kB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/0.2821, allocations: 101 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.2821, allocations: 101 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.084e-05/0.2822, allocations: 184.2 kB / 1.227 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.2822, allocations: 180.3 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.903e-05/0.2823, allocations: 188.2 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.122e-05/0.2823, allocations: 184.2 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.2825, allocations: 311.7 kB / 1.228 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.2825, allocations: 178.1 kB / 1.228 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.2826, allocations: 192.2 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2827, allocations: 105 kB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.2828, allocations: 176.3 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.2828, allocations: 108.9 kB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.2829, allocations: 91.22 kB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2829, allocations: 0 / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002897/0.2832, allocations: 39.75 kB / 1.229 GB, free: 4.418 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.0004617/0.2837, allocations: 0.8597 MB / 1.23 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.328e-05/0.2837, allocations: 15.94 kB / 1.23 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2837, allocations: 0 / 1.23 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.2838, allocations: 0 / 1.23 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.2842, allocations: 467.7 kB / 1.23 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.285, allocations: 1.336 MB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.2852, allocations: 0.6729 MB / 1.232 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.2853, allocations: 4 kB / 1.232 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.2853, allocations: 17.16 kB / 1.232 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2853, allocations: 0 / 1.232 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.301, allocations: 2.18 MB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.547, allocations: 6.656 kB / 1.235 GB, free: 14.93 MB / 0.9981 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