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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=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_10_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_10_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.001339/0.001339, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 59.91 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6402/0.6416, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01496/0.6566, allocations: 12.97 MB / 1.03 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.6592, allocations: 2.671 MB / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.6593, allocations: 0 / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.6596, allocations: 43.69 kB / 1.033 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.6598, allocations: 103.3 kB / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.6609, allocations: 0.505 MB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.6611, allocations: 220 kB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.6611, allocations: 9.562 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00794/0.6691, allocations: 3.582 MB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.6693, allocations: 87.66 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.6693, allocations: 8 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.6719, allocations: 1.079 MB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.672, allocations: 43.88 kB / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.6721, allocations: 75.66 kB / 1.038 GB, free: 13.01 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.6728, allocations: 367 kB / 1.038 GB, free: 12.65 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6728, allocations: 0 / 1.038 GB, free: 12.65 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6728, allocations: 0 / 1.038 GB, free: 12.65 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.6728, allocations: 4 kB / 1.039 GB, free: 12.65 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.0006781/0.6735, allocations: 0.5069 MB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6735, allocations: 8.031 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.6737, allocations: 16.84 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.6739, allocations: 220 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.6739, allocations: 12.7 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.674, allocations: 24.38 kB / 1.039 GB, free: 11.78 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.6743, allocations: 244.2 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6743, allocations: 0 / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.6744, allocations: 15.98 kB / 1.04 GB, free: 11.51 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6744, allocations: 4 kB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.6749, allocations: 435.3 kB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.6759, allocations: 0.9528 MB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.6762, allocations: 165 kB / 1.041 GB, free: 9.867 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.6763, allocations: 64.88 kB / 1.041 GB, free: 9.801 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.6777, allocations: 1.836 MB / 1.043 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.6777, allocations: 30.56 kB / 1.043 GB, free: 7.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.6777, allocations: 0 / 1.043 GB, free: 7.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003837/0.6781, allocations: 151.2 kB / 1.043 GB, free: 7.414 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.6782, allocations: 55.34 kB / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.6783, allocations: 174 kB / 1.043 GB, free: 7.168 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6783, allocations: 29.7 kB / 1.043 GB, free: 7.133 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.6784, allocations: 139.8 kB / 1.043 GB, free: 6.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.6785, allocations: 55.19 kB / 1.043 GB, free: 6.938 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.6785, allocations: 53.7 kB / 1.044 GB, free: 6.879 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.6786, allocations: 326.8 kB / 1.044 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.6787, allocations: 35.98 kB / 1.044 GB, free: 6.516 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.6788, allocations: 134.2 kB / 1.044 GB, free: 6.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.6791, allocations: 198.7 kB / 1.044 GB, free: 6.094 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6791, allocations: 4 kB / 1.044 GB, free: 6.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003057/0.6794, allocations: 214.1 kB / 1.044 GB, free: 5.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6794, allocations: 8 kB / 1.044 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6794, allocations: 4 kB / 1.044 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6794, allocations: 8.453 kB / 1.044 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.6796, allocations: 59.84 kB / 1.044 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6796, allocations: 11.94 kB / 1.044 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.6797, allocations: 23.75 kB / 1.045 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.6798, allocations: 16 kB / 1.045 GB, free: 5.746 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.661e-05/0.6799, allocations: 129.7 kB / 1.045 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.6799, allocations: 15.81 kB / 1.045 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.6802, allocations: 159.4 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.6803, allocations: 11.94 kB / 1.045 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6803, allocations: 0 / 1.045 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6803, allocations: 3.938 kB / 1.045 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.6805, allocations: 221.4 kB / 1.045 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6805, allocations: 0 / 1.045 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.6806, allocations: 27.98 kB / 1.045 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6806, allocations: 0 / 1.045 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.6806, allocations: 4 kB / 1.045 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6807, allocations: 3.938 kB / 1.045 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6807, allocations: 4 kB / 1.045 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.6809, allocations: 216.2 kB / 1.045 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.681, allocations: 116.8 kB / 1.045 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.681, allocations: 4 kB / 1.045 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.6813, allocations: 15.92 kB / 1.045 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.6813, allocations: 11.98 kB / 1.045 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.6813, allocations: 12 kB / 1.045 GB, free: 4.707 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.6814, allocations: 121.6 kB / 1.046 GB, free: 4.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6814, allocations: 0 / 1.046 GB, free: 4.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004307/0.6819, allocations: 76 kB / 1.046 GB, free: 4.516 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 (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.000392/0.6823, allocations: 187.1 kB / 1.046 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.6825, allocations: 125.9 kB / 1.046 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6825, allocations: 0 / 1.046 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.6826, allocations: 47.91 kB / 1.046 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.6831, allocations: 56.83 kB / 1.046 GB, free: 4.102 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.6838, allocations: 346.8 kB / 1.046 GB, free: 3.738 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6841, allocations: 0.7205 MB / 1.047 GB, free: 2.992 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.6842, allocations: 49.67 kB / 1.047 GB, free: 2.945 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.6843, allocations: 27.44 kB / 1.047 GB, free: 2.918 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.6843, allocations: 0 / 1.047 GB, free: 2.918 MB / 0.795 GB Notification: Performance of Templates: time 0.007034/0.6913, allocations: 3.631 MB / 1.051 GB, free: 15.33 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches