Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.004164/0.004164, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001065/0.001065, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 62.41 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2138, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004066/0.2179, allocations: 3.283 MB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 8.29e-05/0.218, allocations: 47.86 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.218, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.067e-05/0.2181, allocations: 3.938 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.2182, allocations: 15.92 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.2186, allocations: 190.2 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.2187, allocations: 31.92 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.848e-05/0.2188, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.2188, allocations: 15.97 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.2189, allocations: 15.88 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2189, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.2192, allocations: 175.5 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.2193, allocations: 15.98 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.2193, allocations: 11.88 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.2195, allocations: 130.6 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2195, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2196, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2196, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 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.0003742/0.2199, allocations: 352.3 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.22, allocations: 8.031 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.22, allocations: 42.66 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.2201, allocations: 4.938 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2202, allocations: 168.3 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.2203, allocations: 26.27 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.2203, allocations: 8.125 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2204, allocations: 41.69 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2204, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2204, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2205, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.974e-05/0.2205, allocations: 19.92 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.2211, allocations: 0.5833 MB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.2212, allocations: 18.58 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.2212, allocations: 4.859 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.2214, allocations: 344.5 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2215, allocations: 38.56 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.2215, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.2216, allocations: 37.64 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2217, allocations: 51.41 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.2218, allocations: 105.8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2218, allocations: 25.7 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.2218, allocations: 84.05 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.2219, allocations: 3.938 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2219, allocations: 25.61 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.222, allocations: 326.9 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.222, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.2221, allocations: 25.64 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.2221, allocations: 25.66 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2221, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.909e-05/0.2222, allocations: 41.69 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2222, allocations: 8.062 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2222, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2222, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.2223, allocations: 7.938 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2223, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.2223, allocations: 8 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2223, allocations: 3.938 kB / 1.094 GB, free: 11.24 MB / 0.8575 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.594e-05/0.2224, allocations: 109.8 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2224, allocations: 7.984 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2226, allocations: 117 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-05/0.2226, allocations: 184.2 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.764e-05/0.2227, allocations: 176.3 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.888e-05/0.2227, allocations: 184.5 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.223, allocations: 417.2 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.223, allocations: 105 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.223, allocations: 108.9 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.226e-05/0.2231, allocations: 176.3 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.2232, allocations: 184.2 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.935e-05/0.2232, allocations: 180.2 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.263e-05/0.2233, allocations: 184.3 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.2234, allocations: 311.6 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.2235, allocations: 182 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.2235, allocations: 184.2 kB / 1.096 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2237, allocations: 109 kB / 1.096 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.2237, allocations: 184.2 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.2238, allocations: 109 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.2238, allocations: 87.28 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2238, allocations: 0 / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000276/0.2241, allocations: 31.94 kB / 1.097 GB, free: 7.758 MB / 0.8575 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.0004383/0.2246, allocations: 0.8672 MB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.2246, allocations: 12 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2246, allocations: 0 / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-06/0.2246, allocations: 7.922 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.225, allocations: 457.1 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008691/0.2259, allocations: 1.332 MB / 1.099 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.2261, allocations: 0.6768 MB / 1.1 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.004e-05/0.2261, allocations: 10.53 kB / 1.1 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.2262, allocations: 7.438 kB / 1.1 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.2262, allocations: 0 / 1.1 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2424, allocations: 2.168 MB / 1.102 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.737, allocations: 15 kB / 1.102 GB, free: 2.262 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches