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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.536/2.536, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 0.8707 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6687, allocations: 153.7 MB / 1.021 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01255/0.6813, allocations: 11.17 MB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.6837, allocations: 2.14 MB / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.6837, allocations: 0 / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.684, allocations: 43.8 kB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.6842, allocations: 71.77 kB / 1.034 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.6852, allocations: 438.2 kB / 1.034 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.6853, allocations: 152.7 kB / 1.034 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.6854, allocations: 9.562 kB / 1.034 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008435/0.6938, allocations: 4.301 MB / 1.039 GB, free: 14.72 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.694, allocations: 79.72 kB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.6941, allocations: 8 kB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.6966, allocations: 0.9911 MB / 1.04 GB, free: 13.64 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.6967, allocations: 31.89 kB / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.6968, allocations: 61.52 kB / 1.04 GB, free: 13.55 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.6972, allocations: 227.5 kB / 1.04 GB, free: 13.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.6972, allocations: 0 / 1.04 GB, free: 13.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6972, allocations: 0 / 1.04 GB, free: 13.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.6973, allocations: 0 / 1.04 GB, free: 13.32 MB / 0.795 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.0006525/0.6979, allocations: 467.2 kB / 1.04 GB, free: 12.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.698, allocations: 12.03 kB / 1.04 GB, free: 12.81 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.6981, allocations: 23.81 kB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.6984, allocations: 222.8 kB / 1.041 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.6984, allocations: 12.33 kB / 1.041 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.6984, allocations: 15.98 kB / 1.041 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.6988, allocations: 248 kB / 1.041 GB, free: 12.24 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6988, allocations: 0 / 1.041 GB, free: 12.24 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.6988, allocations: 8 kB / 1.041 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.6988, allocations: 4 kB / 1.041 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.6993, allocations: 431.3 kB / 1.041 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.7005, allocations: 1.019 MB / 1.042 GB, free: 10.7 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.7008, allocations: 161.2 kB / 1.043 GB, free: 10.53 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.7021, allocations: 1.852 MB / 1.044 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.7021, allocations: 34.56 kB / 1.044 GB, free: 8.273 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.7021, allocations: 0 / 1.044 GB, free: 8.273 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003172/0.7024, allocations: 147.7 kB / 1.045 GB, free: 8.125 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.7025, allocations: 55.41 kB / 1.045 GB, free: 8.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.7026, allocations: 167.3 kB / 1.045 GB, free: 7.883 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.7027, allocations: 37.7 kB / 1.045 GB, free: 7.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.7028, allocations: 139.7 kB / 1.045 GB, free: 7.699 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.7028, allocations: 55.19 kB / 1.045 GB, free: 7.645 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.7028, allocations: 8 kB / 1.045 GB, free: 7.637 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7029, allocations: 322.8 kB / 1.045 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.703, allocations: 35.98 kB / 1.045 GB, free: 7.277 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.7031, allocations: 137.7 kB / 1.045 GB, free: 7.094 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/0.7032, allocations: 55.94 kB / 1.046 GB, free: 7.039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7032, allocations: 0 / 1.046 GB, free: 7.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003066/0.7035, allocations: 209.2 kB / 1.046 GB, free: 6.828 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7036, allocations: 11.94 kB / 1.046 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7036, allocations: 4 kB / 1.046 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.7036, allocations: 7.984 kB / 1.046 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.7038, allocations: 60.33 kB / 1.046 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.7038, allocations: 8 kB / 1.046 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.7039, allocations: 35.67 kB / 1.046 GB, free: 6.703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.704, allocations: 19.98 kB / 1.046 GB, free: 6.684 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.7041, allocations: 125.8 kB / 1.046 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.7041, allocations: 15.81 kB / 1.046 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.7044, allocations: 161.1 kB / 1.046 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.7044, allocations: 4 kB / 1.046 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7045, allocations: 3.953 kB / 1.046 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.7045, allocations: 11.98 kB / 1.046 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.7047, allocations: 217.5 kB / 1.046 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7047, allocations: 0 / 1.046 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.7048, allocations: 31.97 kB / 1.046 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7048, allocations: 0 / 1.046 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7049, allocations: 4 kB / 1.046 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7049, allocations: 0 / 1.046 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7049, allocations: 0 / 1.046 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.7051, allocations: 227.2 kB / 1.047 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.7052, allocations: 120.9 kB / 1.047 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.7052, allocations: 4 kB / 1.047 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.7054, allocations: 19.98 kB / 1.047 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.7055, allocations: 7.984 kB / 1.047 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.7055, allocations: 11.98 kB / 1.047 GB, free: 5.641 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.011e-05/0.7056, allocations: 120.9 kB / 1.047 GB, free: 5.523 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7056, allocations: 4 kB / 1.047 GB, free: 5.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000381/0.706, allocations: 87.81 kB / 1.047 GB, free: 5.434 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002855/0.7063, allocations: 171.1 kB / 1.047 GB, free: 5.258 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.7065, allocations: 118 kB / 1.047 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7065, allocations: 0 / 1.047 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.016e-05/0.7066, allocations: 47.91 kB / 1.047 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.7069, allocations: 48.91 kB / 1.047 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.7076, allocations: 427.4 kB / 1.048 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.7079, allocations: 0.7211 MB / 1.048 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.708, allocations: 49.67 kB / 1.049 GB, free: 3.812 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.7081, allocations: 19.44 kB / 1.049 GB, free: 3.793 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.7081, allocations: 4 kB / 1.049 GB, free: 3.789 MB / 0.795 GB Notification: Performance of Templates: time 0.006503/0.7146, allocations: 3.365 MB / 1.052 GB, free: 472 kB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches