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.004205/0.004205, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.00109/0.00109, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.298/2.298, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.62 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2242, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004304/0.2285, allocations: 3.281 MB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.539e-05/0.2286, allocations: 51.84 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.2286, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.574e-05/0.2287, allocations: 7.938 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.2288, allocations: 11.92 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.2293, allocations: 199.1 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.2294, allocations: 27.92 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.143e-05/0.2295, allocations: 7.984 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.2295, allocations: 11.98 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.2296, allocations: 15.88 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.2296, allocations: 4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.2299, allocations: 171.5 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.23, allocations: 8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.23, allocations: 11.92 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.2303, allocations: 143.2 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2303, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2303, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2303, allocations: 0 / 1.091 GB, free: 14.06 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.0003361/0.2306, allocations: 347.3 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2307, allocations: 19.97 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.2307, allocations: 30.75 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.2307, allocations: 4.891 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.2308, allocations: 172.3 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.2309, allocations: 26.27 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.2309, allocations: 4.125 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.231, allocations: 45.69 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.231, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2311, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.2311, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.2311, allocations: 19.91 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.2317, allocations: 0.5833 MB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.173e-05/0.2317, allocations: 14.58 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.2318, allocations: 8.922 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.232, allocations: 344.4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.232, allocations: 34.56 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.232, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.2321, allocations: 37.64 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2322, allocations: 51.41 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.2323, allocations: 105.8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2323, allocations: 25.7 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.2323, allocations: 88.08 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.2323, allocations: 8.078 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.2324, allocations: 17.72 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.2325, allocations: 322.8 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.2325, allocations: 4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.2325, allocations: 17.72 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.2326, allocations: 29.64 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2326, allocations: 7.938 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.418e-05/0.2327, allocations: 37.7 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2327, allocations: 7.984 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2327, allocations: 3.984 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2327, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.2328, allocations: 11.94 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2328, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.2328, allocations: 7.938 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2328, allocations: 4 kB / 1.094 GB, free: 11.25 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.225e-05/0.2329, allocations: 117.8 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.2329, allocations: 7.953 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.604e-05/0.233, allocations: 117 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.898e-05/0.2331, allocations: 184.2 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-05/0.2331, allocations: 176.3 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.274e-05/0.2332, allocations: 184.2 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2334, allocations: 409.2 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/0.2334, allocations: 109 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.2335, allocations: 104.9 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-05/0.2335, allocations: 180.3 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.2336, allocations: 180.2 kB / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.883e-05/0.2336, allocations: 180.3 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-05/0.2337, allocations: 188.2 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.2338, allocations: 303.8 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.2339, allocations: 182 kB / 1.096 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.2339, allocations: 188.2 kB / 1.096 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2341, allocations: 109 kB / 1.096 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.2342, allocations: 180.2 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.2342, allocations: 101 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.2342, allocations: 91.27 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2342, allocations: 0 / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002857/0.2345, allocations: 35.81 kB / 1.097 GB, free: 7.777 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.0004698/0.235, allocations: 0.8674 MB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.329e-05/0.2351, allocations: 12 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2351, allocations: 0 / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.2351, allocations: 3.938 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2355, allocations: 464 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.2364, allocations: 1.34 MB / 1.099 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2366, allocations: 0.6729 MB / 1.1 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.949e-05/0.2367, allocations: 6.109 kB / 1.1 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.2367, allocations: 15.44 kB / 1.1 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.2367, allocations: 0 / 1.1 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.2534, allocations: 2.155 MB / 1.102 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.823, allocations: 10.44 kB / 1.102 GB, free: 2.289 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