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.0008141/0.0008141, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007996/0.0007996, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8889/0.8889, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.756/1.756, allocations: 377.9 MB / 0.6229 GB, free: 8.641 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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.485e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003232/0.003257, allocations: 3.217 MB / 0.9853 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 7.13e-05/0.003328, allocations: 63.72 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.003351, allocations: 0 / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.003453, allocations: 7.938 kB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.003523, allocations: 11.91 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.003953, allocations: 199 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.004028, allocations: 35.84 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.004068, allocations: 7.984 kB / 0.9857 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.004122, allocations: 19.97 kB / 0.9857 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.004188, allocations: 11.98 kB / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.0042, allocations: 0 / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.004406, allocations: 135.5 kB / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.004454, allocations: 8 kB / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.004473, allocations: 7.984 kB / 0.9858 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.004664, allocations: 131.6 kB / 0.986 GB, free: 14.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004667, allocations: 4 kB / 0.986 GB, free: 14.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004668, allocations: 0 / 0.986 GB, free: 14.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.004672, allocations: 0 / 0.986 GB, free: 14.21 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.0003271/0.004999, allocations: 274.2 kB / 0.9862 GB, free: 13.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.005032, allocations: 8.031 kB / 0.9862 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.005075, allocations: 0.9375 kB / 0.9862 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.005154, allocations: 109.8 kB / 0.9863 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.005216, allocations: 51.97 kB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.005224, allocations: 384 / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.005336, allocations: 71.95 kB / 0.9864 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005343, allocations: 4.188 kB / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.005354, allocations: 7.875 kB / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.00537, allocations: 0 / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.005407, allocations: 23.92 kB / 0.9865 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.005802, allocations: 244.5 kB / 0.9867 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.464e-05/0.005837, allocations: 14.58 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.005853, allocations: 16.86 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.005906, allocations: 35.95 kB / 0.9868 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.005928, allocations: 30.56 kB / 0.9868 GB, free: 13.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.005929, allocations: 4 kB / 0.9868 GB, free: 13.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.000129/0.006058, allocations: 37.64 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.006085, allocations: 59.39 kB / 0.9869 GB, free: 13.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.006149, allocations: 97.86 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.006165, allocations: 25.7 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.006202, allocations: 88.09 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-06/0.006209, allocations: 7.938 kB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.006233, allocations: 17.72 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.006305, allocations: 310.8 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.006315, allocations: 7.938 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.006334, allocations: 21.83 kB / 0.9875 GB, free: 12.49 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.006363, allocations: 25.66 kB / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006365, allocations: 0 / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.654e-05/0.006422, allocations: 49.62 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.006434, allocations: 6.656 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.00644, allocations: 4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006452, allocations: 3.938 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.802e-05/0.00649, allocations: 4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.006495, allocations: 4.062 kB / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.006506, allocations: 0 / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.006515, allocations: 4 kB / 0.9876 GB, free: 12.38 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 5.167e-05/0.006567, allocations: 113.8 kB / 0.9877 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.006582, allocations: 11.94 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.006672, allocations: 116 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/0.00671, allocations: 180.5 kB / 0.988 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-05/0.006752, allocations: 180.2 kB / 0.9881 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.002e-05/0.006792, allocations: 188.2 kB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.007182, allocations: 352.8 kB / 0.9886 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/0.007205, allocations: 113 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.007231, allocations: 104.9 kB / 0.9889 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.766e-05/0.007268, allocations: 188.2 kB / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.007308, allocations: 180.2 kB / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.605e-05/0.007344, allocations: 180.3 kB / 0.9894 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.783e-05/0.007382, allocations: 184.2 kB / 0.9896 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.00747, allocations: 311.7 kB / 0.9898 GB, free: 9.887 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.007498, allocations: 112.9 kB / 0.99 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.007546, allocations: 180.2 kB / 0.9901 GB, free: 9.586 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.007644, allocations: 105 kB / 0.9902 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.00769, allocations: 184.2 kB / 0.9904 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.007711, allocations: 105 kB / 0.9905 GB, free: 9.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.007746, allocations: 87.27 kB / 0.9906 GB, free: 9.094 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007746, allocations: 0 / 0.9906 GB, free: 9.094 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001949/0.007941, allocations: 35.88 kB / 0.9906 GB, free: 9.059 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.0002177/0.008159, allocations: 234.3 kB / 0.9908 GB, free: 8.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.008224, allocations: 11.92 kB / 0.9909 GB, free: 8.809 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.008226, allocations: 4 kB / 0.9909 GB, free: 8.805 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.008228, allocations: 0 / 0.9909 GB, free: 8.805 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.008532, allocations: 461.9 kB / 0.9913 GB, free: 8.352 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.008771, allocations: 213.7 kB / 0.9915 GB, free: 8.109 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.069e-05/0.008812, allocations: 63.47 kB / 0.9916 GB, free: 8.027 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.008831, allocations: 8.5 kB / 0.9916 GB, free: 8.02 MB / 0.948 GB Notification: Performance of SimCode: time 4.5e-07/0.008831, allocations: 0 / 0.9916 GB, free: 8.02 MB / 0.948 GB Notification: Performance of Templates: time 0.002014/0.01085, allocations: 1.222 MB / 0.9928 GB, free: 6.812 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/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: 6.52879904396832]