Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 443.5 MB / 0.7304 GB, free: 14.08 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 63.91 kB / 1.059 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.267, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005068/0.2721, allocations: 3.335 MB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.2722, allocations: 47.88 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.2722, allocations: 4 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.745e-05/0.2723, allocations: 7.922 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.2724, allocations: 11.92 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.273, allocations: 187.2 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.2731, allocations: 31.91 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.2731, allocations: 15.88 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.979e-05/0.2732, allocations: 15.92 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.2732, allocations: 19.97 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2732, allocations: 0 / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.2736, allocations: 179.5 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.2737, allocations: 7.938 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.2737, allocations: 7.984 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.274, allocations: 143.9 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.274, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.274, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.274, allocations: 4 kB / 1.219 GB, free: 11.9 MB / 0.9669 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.0004206/0.2744, allocations: 343.3 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2744, allocations: 8.031 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.2745, allocations: 34.75 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.2745, allocations: 0.9375 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2746, allocations: 164.4 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.2747, allocations: 34.25 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2747, allocations: 4.125 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2748, allocations: 49.67 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2748, allocations: 0 / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2749, allocations: 0 / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.2749, allocations: 7.938 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/0.2749, allocations: 15.98 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.2756, allocations: 0.5794 MB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.2756, allocations: 18.58 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.2756, allocations: 12.86 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.2759, allocations: 340.4 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.2759, allocations: 42.48 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2759, allocations: 0 / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.276, allocations: 33.7 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2761, allocations: 51.41 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.2762, allocations: 102 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2762, allocations: 29.7 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2762, allocations: 88.09 kB / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.2762, allocations: 7.938 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.2763, allocations: 17.67 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2764, allocations: 322.8 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.2764, allocations: 0 / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.2764, allocations: 17.66 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.2765, allocations: 29.7 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2765, allocations: 0 / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.425e-05/0.2765, allocations: 45.64 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2766, allocations: 11.94 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2766, allocations: 0 / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2766, allocations: 0 / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/0.2766, allocations: 7.984 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2766, allocations: 4 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.2766, allocations: 4.062 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2766, allocations: 0 / 1.222 GB, free: 9.117 MB / 0.9669 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.611e-05/0.2767, allocations: 113.8 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.2767, allocations: 0 / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.2769, allocations: 128.9 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.042e-05/0.2769, allocations: 180.3 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-05/0.277, allocations: 184.3 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/0.2771, allocations: 184.2 kB / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.2773, allocations: 405.2 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.036e-05/0.2774, allocations: 112.9 kB / 1.223 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.2774, allocations: 101 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/0.2775, allocations: 184.2 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.2775, allocations: 180.3 kB / 1.223 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-05/0.2776, allocations: 184.2 kB / 1.224 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.804e-05/0.2777, allocations: 180.2 kB / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.2778, allocations: 319.6 kB / 1.224 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.2779, allocations: 178.4 kB / 1.224 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.278, allocations: 180.3 kB / 1.224 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2782, allocations: 108.9 kB / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.2782, allocations: 184.2 kB / 1.225 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.2783, allocations: 108.9 kB / 1.225 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.2783, allocations: 91.27 kB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2783, allocations: 0 / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002716/0.2786, allocations: 39.81 kB / 1.225 GB, free: 5.621 MB / 0.9669 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.0005495/0.2792, allocations: 0.8621 MB / 1.226 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.728e-05/0.2792, allocations: 7.938 kB / 1.226 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2792, allocations: 0 / 1.226 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.2792, allocations: 4 kB / 1.226 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.2797, allocations: 469.4 kB / 1.226 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2807, allocations: 1.324 MB / 1.228 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.2809, allocations: 0.6768 MB / 1.228 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.281, allocations: 15.8 kB / 1.228 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.281, allocations: 7.438 kB / 1.228 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.281, allocations: 4 kB / 1.228 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.3041, allocations: 2.113 MB / 1.23 GB, free: 136 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.262, allocations: 14.14 kB / 1.23 GB, free: 128 kB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.652179477998288]