Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00188/0.00188, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002251/0.002251, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.769/2.769, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.703e-05, allocations: 3.312 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00602/0.006047, allocations: 3.235 MB / 0.7895 GB, free: 8.445 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.006181, allocations: 48.53 kB / 0.7896 GB, free: 8.398 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.006211, allocations: 1.5 kB / 0.7896 GB, free: 8.398 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.006332, allocations: 3.938 kB / 0.7896 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.00642, allocations: 15.91 kB / 0.7896 GB, free: 8.379 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.007153, allocations: 202.2 kB / 0.7898 GB, free: 8.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.007254, allocations: 31.84 kB / 0.7898 GB, free: 8.152 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.007294, allocations: 8 kB / 0.7898 GB, free: 8.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.00736, allocations: 15.97 kB / 0.7898 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.007441, allocations: 16.98 kB / 0.7899 GB, free: 8.113 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.007454, allocations: 0 / 0.7899 GB, free: 8.113 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.007813, allocations: 136.1 kB / 0.79 GB, free: 7.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.007864, allocations: 7.984 kB / 0.79 GB, free: 7.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.007891, allocations: 9.188 kB / 0.79 GB, free: 7.965 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.008211, allocations: 127.7 kB / 0.7901 GB, free: 7.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.008214, allocations: 0 / 0.7901 GB, free: 7.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.008214, allocations: 0.625 kB / 0.7901 GB, free: 7.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.008219, allocations: 4 kB / 0.7901 GB, free: 7.836 MB / 0.698 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.0004809/0.0087, allocations: 267.6 kB / 0.7904 GB, free: 7.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.008738, allocations: 8.031 kB / 0.7904 GB, free: 7.539 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.008805, allocations: 8.938 kB / 0.7904 GB, free: 7.531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.008957, allocations: 111.3 kB / 0.7905 GB, free: 7.398 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.009067, allocations: 59.95 kB / 0.7906 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.00908, allocations: 384 / 0.7906 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.00925, allocations: 71.94 kB / 0.7906 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.009261, allocations: 1.719 kB / 0.7906 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.009282, allocations: 7.938 kB / 0.7906 GB, free: 7.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.009302, allocations: 0 / 0.7906 GB, free: 7.238 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.557e-05/0.009358, allocations: 11.98 kB / 0.7906 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.009973, allocations: 250 kB / 0.7909 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.01002, allocations: 18.58 kB / 0.7909 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.01005, allocations: 8.797 kB / 0.7909 GB, free: 6.914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.01017, allocations: 42.19 kB / 0.791 GB, free: 6.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.01021, allocations: 34.56 kB / 0.791 GB, free: 6.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.01022, allocations: 0 / 0.791 GB, free: 6.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.01039, allocations: 33.64 kB / 0.791 GB, free: 6.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.01045, allocations: 59.39 kB / 0.7911 GB, free: 6.723 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.01056, allocations: 102.3 kB / 0.7912 GB, free: 6.613 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.01058, allocations: 25.7 kB / 0.7912 GB, free: 6.582 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.01065, allocations: 88.81 kB / 0.7913 GB, free: 6.492 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.01067, allocations: 16.38 kB / 0.7913 GB, free: 6.477 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.01071, allocations: 13.72 kB / 0.7913 GB, free: 6.457 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.0109, allocations: 312.4 kB / 0.7916 GB, free: 6.145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.01092, allocations: 8 kB / 0.7916 GB, free: 6.137 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.01095, allocations: 17.7 kB / 0.7916 GB, free: 6.113 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.011, allocations: 26.28 kB / 0.7917 GB, free: 6.082 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.011, allocations: 0.875 kB / 0.7917 GB, free: 6.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000102/0.0111, allocations: 50.12 kB / 0.7917 GB, free: 6.027 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01112, allocations: 4 kB / 0.7917 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01112, allocations: 4.656 kB / 0.7917 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01114, allocations: 5.062 kB / 0.7917 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/0.01119, allocations: 4 kB / 0.7917 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01119, allocations: 0 / 0.7917 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.01121, allocations: 4.812 kB / 0.7917 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01122, allocations: 4 kB / 0.7917 GB, free: 6.004 MB / 0.698 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 0.0001018/0.01133, allocations: 114.4 kB / 0.7918 GB, free: 5.883 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.01136, allocations: 4.781 kB / 0.7918 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.0115, allocations: 121 kB / 0.792 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/0.01161, allocations: 186.2 kB / 0.7921 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001131/0.01173, allocations: 180.3 kB / 0.7923 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/0.01183, allocations: 180.2 kB / 0.7925 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.01213, allocations: 352.9 kB / 0.7928 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.384e-05/0.0122, allocations: 105 kB / 0.7929 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.01254, allocations: 109.5 kB / 0.793 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.01264, allocations: 180.2 kB / 0.7932 GB, free: 4.406 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.01275, allocations: 182.7 kB / 0.7934 GB, free: 4.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001094/0.01286, allocations: 184.3 kB / 0.7935 GB, free: 4.035 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001043/0.01297, allocations: 180.2 kB / 0.7937 GB, free: 3.852 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.01318, allocations: 303.8 kB / 0.794 GB, free: 3.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.01325, allocations: 113.1 kB / 0.7941 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.01338, allocations: 184.2 kB / 0.7943 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.01356, allocations: 106.8 kB / 0.7944 GB, free: 3.117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.01367, allocations: 180.2 kB / 0.7946 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.01374, allocations: 112.9 kB / 0.7947 GB, free: 2.816 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.0138, allocations: 87.27 kB / 0.7948 GB, free: 2.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.0138, allocations: 0 / 0.7948 GB, free: 2.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003105/0.01411, allocations: 32.41 kB / 0.7948 GB, free: 2.699 MB / 0.698 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.0003596/0.01447, allocations: 242 kB / 0.795 GB, free: 2.457 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.01455, allocations: 13.03 kB / 0.795 GB, free: 2.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01455, allocations: 0 / 0.795 GB, free: 2.445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.01455, allocations: 0 / 0.795 GB, free: 2.445 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.01511, allocations: 462.6 kB / 0.7955 GB, free: 1.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.01544, allocations: 188.7 kB / 0.7956 GB, free: 1.781 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.172e-05/0.01551, allocations: 63.06 kB / 0.7957 GB, free: 1.703 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.01556, allocations: 6.531 kB / 0.7957 GB, free: 1.699 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.0156, allocations: 12.5 kB / 0.7957 GB, free: 1.684 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.0156, allocations: 0 / 0.7957 GB, free: 1.684 MB / 0.698 GB Notification: Performance of Templates: time 0.004537/0.02014, allocations: 1.288 MB / 0.797 GB, free: 472 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.793777740909718]