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.0008892/0.0008892, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.0008719/0.0008719, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.926/0.926, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.983/1.983, allocations: 428.5 MB / 0.6727 GB, free: 4.891 MB / 0.6355 GB " [Timeout remaining time 177] 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.502e-06/1.502e-06, allocations: 0 / 0.8771 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.9e-05, allocations: 5.406 kB / 0.8771 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01161/0.01164, allocations: 11.95 MB / 0.8888 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.01351, allocations: 2.418 MB / 0.8911 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.01361, allocations: 4 kB / 0.8911 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.01388, allocations: 43.69 kB / 0.8912 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.01414, allocations: 99.23 kB / 0.8913 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.01523, allocations: 0.5442 MB / 0.8918 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.01548, allocations: 239.8 kB / 0.892 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.01553, allocations: 5.812 kB / 0.892 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006668/0.0222, allocations: 3.637 MB / 0.8956 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.02237, allocations: 75.77 kB / 0.8957 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.02239, allocations: 8 kB / 0.8957 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.02426, allocations: 1.039 MB / 0.8967 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.02434, allocations: 39.89 kB / 0.8967 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.02441, allocations: 67.81 kB / 0.8968 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.02501, allocations: 386.8 kB / 0.8972 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02502, allocations: 0 / 0.8972 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.152e-06/0.02502, allocations: 0 / 0.8972 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.02502, allocations: 0 / 0.8972 GB, free: 3.242 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.0006828/0.02571, allocations: 445.4 kB / 0.8976 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.02575, allocations: 8.031 kB / 0.8976 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.02593, allocations: 48.73 kB / 0.8976 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.02619, allocations: 161.5 kB / 0.8978 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.0262, allocations: 16.69 kB / 0.8978 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.02622, allocations: 12.38 kB / 0.8978 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.0266, allocations: 495.8 kB / 0.8983 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.02661, allocations: 192 / 0.8983 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.02663, allocations: 12.12 kB / 0.8983 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.02666, allocations: 4 kB / 0.8983 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.027, allocations: 423.5 kB / 0.8987 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.0278, allocations: 0.7858 MB / 0.8995 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.02806, allocations: 156.2 kB / 0.8996 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.02813, allocations: 56.78 kB / 0.8997 GB, free: 480 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.02867, allocations: 463.8 kB / 0.9001 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.0287, allocations: 38.56 kB / 0.9002 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.0287, allocations: 0 / 0.9002 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002826/0.02898, allocations: 152 kB / 0.9003 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.02901, allocations: 55.41 kB / 0.9004 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.02911, allocations: 165.8 kB / 0.9005 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.02913, allocations: 33.69 kB / 0.9005 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.02919, allocations: 140.1 kB / 0.9007 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.02922, allocations: 51.53 kB / 0.9007 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.02927, allocations: 53.66 kB / 0.9008 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.0295, allocations: 330.8 kB / 0.9011 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.02955, allocations: 35.91 kB / 0.9011 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.02965, allocations: 139 kB / 0.9013 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.0298, allocations: 201.5 kB / 0.9015 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02981, allocations: 0 / 0.9015 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002303/0.03004, allocations: 231.8 kB / 0.9017 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.03005, allocations: 4.469 kB / 0.9017 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.03006, allocations: 8 kB / 0.9017 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.03007, allocations: 4 kB / 0.9017 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.0302, allocations: 63.91 kB / 0.9018 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.0302, allocations: 4 kB / 0.9018 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.03027, allocations: 19.89 kB / 0.9018 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.03028, allocations: 15.98 kB / 0.9018 GB, free: 14.13 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 8.523e-05/0.03037, allocations: 137.6 kB / 0.9019 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.0304, allocations: 23.91 kB / 0.9019 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.03063, allocations: 154.1 kB / 0.9021 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.03064, allocations: 8 kB / 0.9021 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.03064, allocations: 0 / 0.9021 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.03064, allocations: 0 / 0.9021 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.03078, allocations: 149.2 kB / 0.9022 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.03079, allocations: 4 kB / 0.9022 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.03085, allocations: 31.98 kB / 0.9023 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.03085, allocations: 0 / 0.9023 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.03086, allocations: 7.984 kB / 0.9023 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.03086, allocations: 0 / 0.9023 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03086, allocations: 0 / 0.9023 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.03104, allocations: 227.2 kB / 0.9025 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.03108, allocations: 43.84 kB / 0.9025 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.0311, allocations: 0 / 0.9025 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.0312, allocations: 15.98 kB / 0.9026 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.03123, allocations: 7.984 kB / 0.9026 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.03124, allocations: 12 kB / 0.9026 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.03129, allocations: 109.5 kB / 0.9027 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.03129, allocations: 0 / 0.9027 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002868/0.03158, allocations: 83.81 kB / 0.9028 GB, free: 13.08 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.0002742/0.03185, allocations: 194.9 kB / 0.9029 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.03204, allocations: 115.7 kB / 0.9031 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.03204, allocations: 8.062 kB / 0.9031 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.03208, allocations: 39.92 kB / 0.9031 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.03236, allocations: 52.11 kB / 0.9032 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.03289, allocations: 313.5 kB / 0.9034 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.03295, allocations: 98.55 kB / 0.9035 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.03307, allocations: 53.2 kB / 0.9036 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.0331, allocations: 24.5 kB / 0.9036 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.0331, allocations: 0 / 0.9036 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of Templates: time 0.004979/0.03808, allocations: 3.359 MB / 0.9069 GB, free: 8.855 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 -s cvode -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: 5.265703903511167]