Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008578/0.0008578, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8614/0.8614, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.668/1.668, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.28e-05, allocations: 4.812 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003056/0.003069, allocations: 3.221 MB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 5.716e-05/0.003126, allocations: 51.75 kB / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.003146, allocations: 0 / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 8.072e-05/0.003227, allocations: 3.984 kB / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.003284, allocations: 15.86 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.003653, allocations: 202.5 kB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.003713, allocations: 31.86 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.655e-05/0.00374, allocations: 0 / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.003782, allocations: 27.91 kB / 0.9844 GB, free: 15.01 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.003836, allocations: 15.92 kB / 0.9844 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.003845, allocations: 0 / 0.9844 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.00402, allocations: 135.5 kB / 0.9846 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.004056, allocations: 7.984 kB / 0.9846 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.004073, allocations: 15.98 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004233, allocations: 127.7 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004235, allocations: 0 / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004236, allocations: 0 / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.004239, allocations: 0 / 0.9847 GB, free: 14.71 MB / 0.948 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.0002725/0.004512, allocations: 270.2 kB / 0.985 GB, free: 14.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.004545, allocations: 12.03 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.391e-05/0.004569, allocations: 30.75 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.004593, allocations: 0.9375 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.48e-05/0.004658, allocations: 113.8 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.004704, allocations: 51.97 kB / 0.9852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.00471, allocations: 4.375 kB / 0.9852 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.004806, allocations: 75.89 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004813, allocations: 7.875 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.004822, allocations: 3.984 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.004835, allocations: 0 / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.004868, allocations: 16 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.005214, allocations: 271.9 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.001e-05/0.005244, allocations: 18.58 kB / 0.9856 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.005256, allocations: 12.92 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.005311, allocations: 35.91 kB / 0.9856 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005329, allocations: 30.56 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.00533, allocations: 0 / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001071/0.005437, allocations: 37.7 kB / 0.9857 GB, free: 13.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.00546, allocations: 51.41 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.005515, allocations: 105.8 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005525, allocations: 25.7 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.005558, allocations: 88.09 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.005563, allocations: 8.078 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.005586, allocations: 21.7 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.005648, allocations: 310.8 kB / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.005659, allocations: 7.938 kB / 0.9863 GB, free: 12.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.005675, allocations: 17.89 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.005703, allocations: 29.64 kB / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.005704, allocations: 0 / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.587e-05/0.00575, allocations: 49.62 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.005761, allocations: 8.062 kB / 0.9864 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005766, allocations: 4 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.005776, allocations: 0 / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.167e-05/0.005807, allocations: 4 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.005811, allocations: 0 / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.005822, allocations: 4 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.005829, allocations: 0 / 0.9864 GB, free: 12.8 MB / 0.948 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 4.727e-05/0.005876, allocations: 117.7 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.005888, allocations: 4 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.961e-05/0.005967, allocations: 128.9 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/0.006001, allocations: 176.3 kB / 0.9868 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-05/0.00604, allocations: 180.2 kB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-05/0.006077, allocations: 188.2 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.006207, allocations: 372.2 kB / 0.9875 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/0.006231, allocations: 104.9 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.006256, allocations: 109 kB / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.681e-05/0.006293, allocations: 184.2 kB / 0.9879 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.006328, allocations: 176.3 kB / 0.988 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.433e-05/0.006362, allocations: 176.3 kB / 0.9882 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-05/0.006397, allocations: 184.2 kB / 0.9884 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.427e-05/0.006481, allocations: 319.7 kB / 0.9887 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.006516, allocations: 105 kB / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.006571, allocations: 180.3 kB / 0.9889 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.006678, allocations: 116.8 kB / 0.9891 GB, free: 9.859 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.006732, allocations: 176.3 kB / 0.9892 GB, free: 9.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.006758, allocations: 108.9 kB / 0.9893 GB, free: 9.566 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.006787, allocations: 87.27 kB / 0.9894 GB, free: 9.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.006787, allocations: 0 / 0.9894 GB, free: 9.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001795/0.006966, allocations: 35.88 kB / 0.9894 GB, free: 9.445 MB / 0.948 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.000316/0.007282, allocations: 0.8698 MB / 0.9903 GB, free: 8.551 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.704e-05/0.007329, allocations: 11.94 kB / 0.9903 GB, free: 8.539 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007331, allocations: 0 / 0.9903 GB, free: 8.539 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.007332, allocations: 128 / 0.9903 GB, free: 8.539 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.007586, allocations: 463.7 kB / 0.9908 GB, free: 8.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.008202, allocations: 1.343 MB / 0.9921 GB, free: 6.648 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.008236, allocations: 59.34 kB / 0.9921 GB, free: 6.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.008262, allocations: 4 kB / 0.9921 GB, free: 6.566 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.008279, allocations: 12.5 kB / 0.9921 GB, free: 6.555 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.00828, allocations: 4 kB / 0.9921 GB, free: 6.551 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.02252, allocations: 2.84 MB / 0.9949 GB, free: 3.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.336/6.359, allocations: 6.859 kB / 0.9949 GB, free: 3.93 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.342672809027135]