Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001886/0.001886, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 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.002471/0.002471, allocations: 165.3 kB / 22.76 MB, free: 1.656 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.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.251/3.251, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8776 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.795e-05, allocations: 5.547 kB / 0.8776 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01922/0.01925, allocations: 11.95 MB / 0.8893 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.02282, allocations: 2.422 MB / 0.8917 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.02295, allocations: 4 kB / 0.8917 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.02329, allocations: 47.67 kB / 0.8917 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.02367, allocations: 99.23 kB / 0.8918 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.02528, allocations: 0.5343 MB / 0.8923 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.02564, allocations: 243.8 kB / 0.8926 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.02569, allocations: 9.797 kB / 0.8926 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009999/0.03569, allocations: 3.622 MB / 0.8961 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.03591, allocations: 79.77 kB / 0.8962 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.03596, allocations: 11.94 kB / 0.8962 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.039, allocations: 1.046 MB / 0.8972 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.03909, allocations: 35.83 kB / 0.8973 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.03923, allocations: 63.89 kB / 0.8973 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.04048, allocations: 386.7 kB / 0.8977 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.04048, allocations: 0 / 0.8977 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.693e-06/0.04049, allocations: 4 kB / 0.8977 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.04049, allocations: 0 / 0.8977 GB, free: 1.805 MB / 0.8542 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.00111/0.0416, allocations: 441.4 kB / 0.8981 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.04165, allocations: 12.03 kB / 0.8981 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.04191, allocations: 48.72 kB / 0.8982 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.04232, allocations: 157.5 kB / 0.8983 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.04235, allocations: 16.7 kB / 0.8983 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.04239, allocations: 20.31 kB / 0.8984 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.04303, allocations: 495.8 kB / 0.8988 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.04305, allocations: 192 / 0.8988 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.04309, allocations: 12.12 kB / 0.8988 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.04312, allocations: 8 kB / 0.8989 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.04373, allocations: 419.5 kB / 0.8993 GB, free: 84 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.04514, allocations: 0.7896 MB / 0.9 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.04553, allocations: 159.5 kB / 0.9002 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.04565, allocations: 52.88 kB / 0.9002 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000967/0.04662, allocations: 463.8 kB / 0.9007 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.04666, allocations: 42.55 kB / 0.9007 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.04667, allocations: 4 kB / 0.9007 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004276/0.04709, allocations: 141.5 kB / 0.9009 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.04714, allocations: 51.41 kB / 0.9009 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.04732, allocations: 162.4 kB / 0.9011 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.04736, allocations: 33.7 kB / 0.9011 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.04748, allocations: 144.1 kB / 0.9012 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.04754, allocations: 51.53 kB / 0.9013 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.04762, allocations: 57.64 kB / 0.9013 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.04782, allocations: 326.8 kB / 0.9016 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.0479, allocations: 35.98 kB / 0.9017 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.04812, allocations: 150.2 kB / 0.9018 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.04841, allocations: 193.5 kB / 0.902 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.04842, allocations: 4 kB / 0.902 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004097/0.04883, allocations: 229.5 kB / 0.9022 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.04884, allocations: 4 kB / 0.9022 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.04886, allocations: 4 kB / 0.9022 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.04888, allocations: 8 kB / 0.9022 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.04909, allocations: 51.92 kB / 0.9023 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.04911, allocations: 11.92 kB / 0.9023 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.04923, allocations: 23.84 kB / 0.9023 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.04925, allocations: 16 kB / 0.9023 GB, free: 12.68 MB / 0.8698 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 0.0001541/0.04941, allocations: 133.7 kB / 0.9025 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.04947, allocations: 27.97 kB / 0.9025 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.04988, allocations: 152.9 kB / 0.9026 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.0499, allocations: 4 kB / 0.9026 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.0499, allocations: 0 / 0.9026 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.04991, allocations: 0 / 0.9026 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.05016, allocations: 153.2 kB / 0.9028 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.05017, allocations: 0 / 0.9028 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.05029, allocations: 31.92 kB / 0.9028 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.0503, allocations: 4 kB / 0.9028 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.05031, allocations: 7.938 kB / 0.9028 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.05031, allocations: 0 / 0.9028 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.05032, allocations: 4 kB / 0.9028 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.05066, allocations: 227.3 kB / 0.9031 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.05074, allocations: 35.84 kB / 0.9031 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.05077, allocations: 4 kB / 0.9031 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.05099, allocations: 15.98 kB / 0.9031 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.05102, allocations: 7.984 kB / 0.9031 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.05105, allocations: 19.92 kB / 0.9031 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00011/0.05116, allocations: 109.3 kB / 0.9032 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.05116, allocations: 0 / 0.9032 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004676/0.05163, allocations: 79.83 kB / 0.9033 GB, free: 11.63 MB / 0.8698 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.0004463/0.05208, allocations: 187 kB / 0.9035 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.05239, allocations: 123.9 kB / 0.9036 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.05239, allocations: 4 kB / 0.9036 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.05248, allocations: 39.92 kB / 0.9037 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.05295, allocations: 47.89 kB / 0.9037 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.05376, allocations: 312.9 kB / 0.904 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.05388, allocations: 102.5 kB / 0.9041 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.05406, allocations: 49.27 kB / 0.9041 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.05412, allocations: 28.48 kB / 0.9042 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.71e-07/0.05412, allocations: 4 kB / 0.9042 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.008764/0.06289, allocations: 3.363 MB / 0.9075 GB, free: 7.402 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 8.497902989038266]