Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001403/0.001403, allocations: 84.8 kB / 20.75 MB, free: 3.742 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.00159/0.00159, allocations: 161 kB / 24.16 MB, free: 340 kB / 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.9177/0.9177, allocations: 177.1 MB / 204.6 MB, free: 4.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.809/1.809, allocations: 377.9 MB / 0.624 GB, free: 8.301 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7601 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.869e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02625/0.02627, allocations: 13.01 MB / 0.7728 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.02878, allocations: 2.805 MB / 0.7755 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.02886, allocations: 0 / 0.7755 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.02911, allocations: 52.14 kB / 0.7756 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.02933, allocations: 106 kB / 0.7757 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.03022, allocations: 0.5382 MB / 0.7762 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.03043, allocations: 239.8 kB / 0.7764 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.03047, allocations: 19.39 kB / 0.7764 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.03564, allocations: 3.645 MB / 0.78 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.03577, allocations: 76.34 kB / 0.7801 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.03579, allocations: 8 kB / 0.7801 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.03735, allocations: 1.058 MB / 0.7811 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.03741, allocations: 31.91 kB / 0.7811 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.03748, allocations: 71.81 kB / 0.7812 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.03797, allocations: 364.8 kB / 0.7815 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.03797, allocations: 0 / 0.7815 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.71e-07/0.03797, allocations: 0 / 0.7815 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.03798, allocations: 0 / 0.7815 GB, free: 0.5859 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005108/0.03849, allocations: 416.6 kB / 0.7819 GB, free: 160 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.03852, allocations: 11.97 kB / 0.782 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.03863, allocations: 45.89 kB / 0.782 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.03881, allocations: 153.6 kB / 0.7821 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.03883, allocations: 16.69 kB / 0.7822 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.03886, allocations: 17.5 kB / 0.7822 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.03912, allocations: 414.8 kB / 0.7826 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.03913, allocations: 8.125 kB / 0.7826 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.03915, allocations: 13.16 kB / 0.7826 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.03917, allocations: 4 kB / 0.7826 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.03936, allocations: 240.9 kB / 0.7828 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.03995, allocations: 0.703 MB / 0.7835 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.04011, allocations: 157.1 kB / 0.7837 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.04014, allocations: 35.91 kB / 0.7837 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.04058, allocations: 483.3 kB / 0.7842 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.0406, allocations: 38.5 kB / 0.7842 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.0406, allocations: 0.7812 kB / 0.7842 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001436/0.04074, allocations: 138.9 kB / 0.7843 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.04077, allocations: 56.06 kB / 0.7844 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.04085, allocations: 169 kB / 0.7845 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.04086, allocations: 36.11 kB / 0.7846 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.04091, allocations: 144.1 kB / 0.7847 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.04094, allocations: 55.52 kB / 0.7848 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.04098, allocations: 53.64 kB / 0.7848 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.04105, allocations: 330.7 kB / 0.7851 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.04108, allocations: 26.81 kB / 0.7852 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.04114, allocations: 117.7 kB / 0.7853 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.04127, allocations: 197.2 kB / 0.7855 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.04127, allocations: 0 / 0.7855 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001563/0.04143, allocations: 160.4 kB / 0.7856 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.04144, allocations: 8 kB / 0.7856 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.04145, allocations: 4 kB / 0.7856 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.04146, allocations: 4 kB / 0.7856 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.04156, allocations: 55.91 kB / 0.7857 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.04157, allocations: 7.938 kB / 0.7857 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.04163, allocations: 27.78 kB / 0.7857 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.04164, allocations: 16 kB / 0.7857 GB, free: 11.96 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.932e-05/0.04171, allocations: 136.7 kB / 0.7859 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.04173, allocations: 11.98 kB / 0.7859 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.04188, allocations: 117 kB / 0.786 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.04189, allocations: 0 / 0.786 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.04189, allocations: 0 / 0.786 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.04189, allocations: 0 / 0.786 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.04201, allocations: 113.8 kB / 0.7861 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.04201, allocations: 3.938 kB / 0.7861 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.04206, allocations: 31.92 kB / 0.7861 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.04207, allocations: 3.984 kB / 0.7861 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.04207, allocations: 4 kB / 0.7861 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.04207, allocations: 4 kB / 0.7861 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.04207, allocations: 0 / 0.7861 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.04219, allocations: 226.1 kB / 0.7864 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.04223, allocations: 35.86 kB / 0.7864 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.04224, allocations: 4 kB / 0.7864 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.04232, allocations: 11.98 kB / 0.7864 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.04234, allocations: 11.98 kB / 0.7864 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.04235, allocations: 3.984 kB / 0.7864 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.04238, allocations: 39.2 kB / 0.7865 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.04238, allocations: 0 / 0.7865 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002249/0.04261, allocations: 91.75 kB / 0.7865 GB, free: 11.08 MB / 0.7448 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002204/0.04283, allocations: 156.2 kB / 0.7867 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.04294, allocations: 108.5 kB / 0.7868 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.04295, allocations: 4 kB / 0.7868 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.04298, allocations: 35.88 kB / 0.7868 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.04317, allocations: 40.84 kB / 0.7869 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.04378, allocations: 334.8 kB / 0.7872 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.73e-05/0.04382, allocations: 71.98 kB / 0.7873 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.795e-05/0.04392, allocations: 41.27 kB / 0.7873 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.04406, allocations: 125.3 kB / 0.7874 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.04407, allocations: 0 / 0.7874 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.00524/0.04931, allocations: 3.761 MB / 0.7911 GB, free: 6.406 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1953932251781225]