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.0009931/0.0009931, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009804/0.0009804, allocations: 169 kB / 23.02 MB, free: 1.547 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.9637/0.9637, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 2.132/2.132, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.[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_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.[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_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.171e-05, allocations: 4.703 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01194/0.01197, allocations: 13.03 MB / 0.891 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.01384, allocations: 2.773 MB / 0.8937 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.0139, allocations: 4 kB / 0.8937 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.01414, allocations: 51.56 kB / 0.8937 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.01435, allocations: 103.3 kB / 0.8938 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009388/0.01529, allocations: 0.5209 MB / 0.8943 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.01548, allocations: 256 kB / 0.8946 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.01551, allocations: 9.812 kB / 0.8946 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004837/0.02035, allocations: 3.641 MB / 0.8981 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.02047, allocations: 79.77 kB / 0.8982 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.02049, allocations: 8 kB / 0.8982 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.02191, allocations: 1.042 MB / 0.8992 GB, free: 0.6797 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.02196, allocations: 35.89 kB / 0.8993 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.02201, allocations: 67.83 kB / 0.8993 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.02244, allocations: 370.8 kB / 0.8997 GB, free: 220 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02244, allocations: 0 / 0.8997 GB, free: 220 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.042e-06/0.02245, allocations: 0 / 0.8997 GB, free: 220 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.02245, allocations: 0 / 0.8997 GB, free: 220 kB / 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.0005705/0.02302, allocations: 0.5345 MB / 0.9002 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.02306, allocations: 8.031 kB / 0.9002 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.02319, allocations: 44.7 kB / 0.9003 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.02336, allocations: 160.4 kB / 0.9004 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.02337, allocations: 16.7 kB / 0.9004 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.0234, allocations: 16.38 kB / 0.9004 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.0237, allocations: 442.1 kB / 0.9009 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.02371, allocations: 192 / 0.9009 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.02373, allocations: 16.11 kB / 0.9009 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.02376, allocations: 4 kB / 0.9009 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.02439, allocations: 300.3 kB / 0.9012 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.02515, allocations: 1.003 MB / 0.9021 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.02538, allocations: 150.2 kB / 0.9023 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.02544, allocations: 56.64 kB / 0.9023 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004541/0.0259, allocations: 0.5232 MB / 0.9029 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.02592, allocations: 37.39 kB / 0.9029 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.02592, allocations: 0 / 0.9029 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002371/0.02616, allocations: 140.5 kB / 0.903 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.02618, allocations: 51.41 kB / 0.9031 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.02628, allocations: 219.8 kB / 0.9033 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.0263, allocations: 33.7 kB / 0.9033 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.02638, allocations: 190.8 kB / 0.9035 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.02641, allocations: 55.53 kB / 0.9036 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.02646, allocations: 55.31 kB / 0.9036 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.02657, allocations: 0.5 MB / 0.9041 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/0.02661, allocations: 27.97 kB / 0.9041 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.02672, allocations: 176.4 kB / 0.9043 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.02688, allocations: 226.7 kB / 0.9045 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.02688, allocations: 0 / 0.9045 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002145/0.0271, allocations: 212.3 kB / 0.9047 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.02711, allocations: 8 kB / 0.9047 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.02712, allocations: 4 kB / 0.9047 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.02714, allocations: 8.453 kB / 0.9047 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.02725, allocations: 59.92 kB / 0.9048 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.02726, allocations: 8 kB / 0.9048 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.02732, allocations: 27.77 kB / 0.9048 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.02733, allocations: 12 kB / 0.9048 GB, free: 10.5 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 7.305e-05/0.02741, allocations: 180.4 kB / 0.905 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.02744, allocations: 11.95 kB / 0.905 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.02764, allocations: 146.2 kB / 0.9052 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.02765, allocations: 7.984 kB / 0.9052 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.02765, allocations: 0 / 0.9052 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02765, allocations: 4 kB / 0.9052 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.02779, allocations: 168.5 kB / 0.9053 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02779, allocations: 3.984 kB / 0.9053 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.02785, allocations: 31.92 kB / 0.9054 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.02786, allocations: 4 kB / 0.9054 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.02786, allocations: 0 / 0.9054 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.02786, allocations: 0 / 0.9054 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02786, allocations: 0 / 0.9054 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.02803, allocations: 267.7 kB / 0.9056 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.02807, allocations: 31.86 kB / 0.9056 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.02809, allocations: 8 kB / 0.9057 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.02817, allocations: 12 kB / 0.9057 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.02819, allocations: 11.98 kB / 0.9057 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.02821, allocations: 19.92 kB / 0.9057 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.02827, allocations: 149.4 kB / 0.9058 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02827, allocations: 0 / 0.9058 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002446/0.02851, allocations: 79.81 kB / 0.9059 GB, free: 9.324 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.0002209/0.02873, allocations: 187 kB / 0.9061 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.02888, allocations: 114.6 kB / 0.9062 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02889, allocations: 0.9375 kB / 0.9062 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.02893, allocations: 47.55 kB / 0.9062 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.02917, allocations: 59.81 kB / 0.9063 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.02982, allocations: 307.2 kB / 0.9066 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.02986, allocations: 71.98 kB / 0.9067 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.586e-05/0.02995, allocations: 53.2 kB / 0.9067 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.02998, allocations: 24.5 kB / 0.9067 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/0.02998, allocations: 0 / 0.9067 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of Templates: time 0.004892/0.03488, allocations: 3.386 MB / 0.91 GB, free: 5.09 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] 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","",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.802486246917397]