Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.89 kB / 1.057 GB, free: 2.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3028, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01666/0.3194, allocations: 13.04 MB / 1.227 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.3225, allocations: 2.656 MB / 1.229 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.3226, allocations: 4 kB / 1.229 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.3229, allocations: 51.67 kB / 1.229 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.3232, allocations: 91.42 kB / 1.23 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3244, allocations: 0.5172 MB / 1.23 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.3247, allocations: 239.9 kB / 1.23 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3248, allocations: 9.547 kB / 1.23 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008674/0.3334, allocations: 3.575 MB / 1.234 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.3336, allocations: 103.6 kB / 1.234 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.3337, allocations: 8 kB / 1.234 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.3365, allocations: 1.085 MB / 1.235 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.3366, allocations: 43.77 kB / 1.235 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3367, allocations: 79.66 kB / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00081/0.3375, allocations: 370.8 kB / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3375, allocations: 0 / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3375, allocations: 0 / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3375, allocations: 0 / 1.235 GB, free: 11.02 MB / 0.9825 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.0008302/0.3383, allocations: 0.5025 MB / 1.236 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3384, allocations: 11.97 kB / 1.236 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.3385, allocations: 28.84 kB / 1.236 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3389, allocations: 220.1 kB / 1.236 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3389, allocations: 20.62 kB / 1.236 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3389, allocations: 16.31 kB / 1.236 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.3393, allocations: 244.3 kB / 1.236 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3394, allocations: 0 / 1.236 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.3394, allocations: 4 kB / 1.236 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.3394, allocations: 12 kB / 1.236 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.3399, allocations: 427.4 kB / 1.237 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.3412, allocations: 0.9644 MB / 1.238 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.3414, allocations: 147 kB / 1.238 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3415, allocations: 52.89 kB / 1.238 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/0.3431, allocations: 1.84 MB / 1.24 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3431, allocations: 38.55 kB / 1.24 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3431, allocations: 0 / 1.24 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003534/0.3435, allocations: 137.6 kB / 1.24 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.3435, allocations: 55.34 kB / 1.24 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3437, allocations: 180.6 kB / 1.24 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3437, allocations: 25.7 kB / 1.24 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.3438, allocations: 148 kB / 1.24 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.3439, allocations: 63.52 kB / 1.24 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.3439, allocations: 53.66 kB / 1.24 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3441, allocations: 322.8 kB / 1.241 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.3442, allocations: 35.92 kB / 1.241 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3443, allocations: 143.2 kB / 1.241 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.3446, allocations: 196.2 kB / 1.241 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3446, allocations: 4 kB / 1.241 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000348/0.3449, allocations: 213.5 kB / 1.241 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3449, allocations: 11.98 kB / 1.241 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3449, allocations: 4 kB / 1.241 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.345, allocations: 4 kB / 1.241 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.3451, allocations: 59.86 kB / 1.241 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3452, allocations: 4 kB / 1.241 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3453, allocations: 27.8 kB / 1.241 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.3453, allocations: 15.98 kB / 1.241 GB, free: 4.117 MB / 0.9825 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.0001205/0.3454, allocations: 141.8 kB / 1.242 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.3455, allocations: 11.95 kB / 1.242 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.3458, allocations: 158.9 kB / 1.242 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3458, allocations: 7.938 kB / 1.242 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3458, allocations: 0 / 1.242 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3458, allocations: 3.984 kB / 1.242 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.3461, allocations: 213.5 kB / 1.242 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3461, allocations: 4 kB / 1.242 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.3462, allocations: 27.92 kB / 1.242 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3462, allocations: 3.938 kB / 1.242 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3462, allocations: 12 kB / 1.242 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3462, allocations: 3.938 kB / 1.242 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3462, allocations: 0 / 1.242 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3465, allocations: 222.2 kB / 1.242 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3466, allocations: 108.9 kB / 1.242 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.3466, allocations: 0 / 1.242 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.3468, allocations: 19.92 kB / 1.242 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3468, allocations: 11.98 kB / 1.242 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.3469, allocations: 15.98 kB / 1.242 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001022/0.347, allocations: 120 kB / 1.243 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.347, allocations: 0 / 1.243 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003935/0.3474, allocations: 71.88 kB / 1.243 GB, free: 2.887 MB / 0.9825 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.0003284/0.3477, allocations: 198.8 kB / 1.243 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.3479, allocations: 115.7 kB / 1.243 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3479, allocations: 0.9375 kB / 1.243 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.348, allocations: 43.92 kB / 1.243 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.3484, allocations: 55.89 kB / 1.243 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.3492, allocations: 382.4 kB / 1.243 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3495, allocations: 0.705 MB / 1.244 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.3496, allocations: 35.42 kB / 1.244 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3496, allocations: 0 / 1.244 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of Templates: time 0.006056/0.3556, allocations: 3.447 MB / 1.247 GB, free: 13.88 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.909878265112638]