Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001045/0.001045, allocations: 99.34 kB / 16.02 MB, free: 76 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.001392/0.001392, allocations: 183.8 kB / 16.92 MB, free: 6.703 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 8.281 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6646, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01336/0.678, allocations: 13.36 MB / 0.9687 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.6809, allocations: 2.649 MB / 0.9713 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.681, allocations: 5.312 kB / 0.9713 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.6812, allocations: 42.25 kB / 0.9714 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.6815, allocations: 91.59 kB / 0.9715 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.6825, allocations: 460.8 kB / 0.9719 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.6829, allocations: 310.4 kB / 0.9722 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.6829, allocations: 8.625 kB / 0.9722 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007352/0.6903, allocations: 3.159 MB / 0.9753 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.6905, allocations: 95.31 kB / 0.9754 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.6905, allocations: 6.156 kB / 0.9754 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.693, allocations: 0.9747 MB / 0.9763 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.6931, allocations: 38.23 kB / 0.9764 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.6932, allocations: 105.8 kB / 0.9765 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.6937, allocations: 251.5 kB / 0.9767 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6937, allocations: 1 kB / 0.9767 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6937, allocations: 0 / 0.9767 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6937, allocations: 0 / 0.9767 GB, free: 7.691 MB / 0.7325 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.0006757/0.6944, allocations: 464.8 kB / 0.9772 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6944, allocations: 9.656 kB / 0.9772 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.6946, allocations: 29.8 kB / 0.9772 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.6948, allocations: 216.7 kB / 0.9774 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6949, allocations: 18.94 kB / 0.9774 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.6949, allocations: 14.5 kB / 0.9774 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.6953, allocations: 246.2 kB / 0.9777 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6953, allocations: 4.906 kB / 0.9777 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.6953, allocations: 11.17 kB / 0.9777 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.6954, allocations: 16.77 kB / 0.9777 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.6959, allocations: 424.6 kB / 0.9781 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.697, allocations: 0.9639 MB / 0.9791 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.6973, allocations: 157.7 kB / 0.9792 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.6974, allocations: 62.91 kB / 0.9793 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.6988, allocations: 1.835 MB / 0.9811 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.6988, allocations: 37.38 kB / 0.9811 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.6988, allocations: 0 / 0.9811 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003305/0.6991, allocations: 150 kB / 0.9812 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.6992, allocations: 56.62 kB / 0.9813 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.6993, allocations: 164.1 kB / 0.9814 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.6994, allocations: 35 kB / 0.9815 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.6995, allocations: 144.6 kB / 0.9816 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.6996, allocations: 53.92 kB / 0.9817 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.6996, allocations: 28.36 kB / 0.9817 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6998, allocations: 321.4 kB / 0.982 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.6999, allocations: 38.05 kB / 0.982 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.7, allocations: 141.5 kB / 0.9822 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.7002, allocations: 191.1 kB / 0.9824 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7003, allocations: 5.312 kB / 0.9824 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003219/0.7006, allocations: 217.9 kB / 0.9826 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7006, allocations: 10.95 kB / 0.9826 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7006, allocations: 3.469 kB / 0.9826 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7006, allocations: 4.906 kB / 0.9826 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.7008, allocations: 56.83 kB / 0.9826 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7008, allocations: 4.5 kB / 0.9826 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.701, allocations: 28.97 kB / 0.9827 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.701, allocations: 15.48 kB / 0.9827 GB, free: 2.027 MB / 0.7325 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.0001018/0.7011, allocations: 136.5 kB / 0.9828 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.7011, allocations: 13.38 kB / 0.9828 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.7014, allocations: 160 kB / 0.983 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7015, allocations: 6.656 kB / 0.983 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7015, allocations: 0 / 0.983 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7015, allocations: 3.984 kB / 0.983 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.7018, allocations: 210.4 kB / 0.9832 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7018, allocations: 0 / 0.9832 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.7019, allocations: 30.77 kB / 0.9832 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.7019, allocations: 5.578 kB / 0.9832 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7019, allocations: 9.203 kB / 0.9832 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7019, allocations: 4.812 kB / 0.9832 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7019, allocations: 5 kB / 0.9832 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.7021, allocations: 217.8 kB / 0.9835 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.7022, allocations: 110.6 kB / 0.9836 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.7023, allocations: 5.453 kB / 0.9836 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.7025, allocations: 27.58 kB / 0.9836 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.7025, allocations: 9.375 kB / 0.9836 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.7026, allocations: 14.39 kB / 0.9836 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001006/0.7027, allocations: 124 kB / 0.9837 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.823e-06/0.7027, allocations: 1.156 kB / 0.9837 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004053/0.7031, allocations: 82.08 kB / 0.9838 GB, free: 1.082 MB / 0.7325 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.0003124/0.7034, allocations: 179.8 kB / 0.984 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.7036, allocations: 123.2 kB / 0.9841 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7037, allocations: 5 kB / 0.9841 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.7037, allocations: 40.33 kB / 0.9841 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.7042, allocations: 53.8 kB / 0.9842 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.7049, allocations: 466.7 kB / 0.9846 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.7053, allocations: 0.7123 MB / 0.9853 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.7053, allocations: 27.53 kB / 0.9854 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.7053, allocations: 4 kB / 0.9854 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.005414/0.7108, allocations: 3.396 MB / 0.9887 GB, free: 12.67 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches