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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008021/0.0008022, allocations: 92.55 kB / 16.02 MB, free: 80 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.0009983/0.0009983, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 11.94 kB / 0.8735 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5805, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01511/0.5957, allocations: 13.35 MB / 1.037 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.5985, allocations: 2.644 MB / 1.039 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.5986, allocations: 0 / 1.039 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.5989, allocations: 51.72 kB / 1.039 GB, free: 15.81 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.5991, allocations: 83.44 kB / 1.039 GB, free: 15.73 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.6002, allocations: 457.8 kB / 1.04 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.6005, allocations: 303.8 kB / 1.04 GB, free: 14.99 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.6005, allocations: 17.55 kB / 1.04 GB, free: 14.97 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006976/0.6075, allocations: 3.16 MB / 1.043 GB, free: 11.79 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.6077, allocations: 95.59 kB / 1.043 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.6078, allocations: 11.94 kB / 1.043 GB, free: 11.69 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.6101, allocations: 0.9747 MB / 1.044 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.6101, allocations: 31.89 kB / 1.044 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.6102, allocations: 109.4 kB / 1.044 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.6107, allocations: 251.4 kB / 1.045 GB, free: 10.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6107, allocations: 0 / 1.045 GB, free: 10.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6108, allocations: 0 / 1.045 GB, free: 10.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6108, allocations: 0 / 1.045 GB, free: 10.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.0006561/0.6114, allocations: 467.4 kB / 1.045 GB, free: 9.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.6115, allocations: 19.97 kB / 1.045 GB, free: 9.801 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.6116, allocations: 20.75 kB / 1.045 GB, free: 9.781 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.6118, allocations: 220 kB / 1.045 GB, free: 9.527 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6119, allocations: 12.7 kB / 1.045 GB, free: 9.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.6119, allocations: 16.38 kB / 1.045 GB, free: 9.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.6123, allocations: 244.3 kB / 1.046 GB, free: 9.242 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6123, allocations: 4 kB / 1.046 GB, free: 9.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.6123, allocations: 11.94 kB / 1.046 GB, free: 9.227 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.6123, allocations: 8 kB / 1.046 GB, free: 9.219 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.6128, allocations: 431.3 kB / 1.046 GB, free: 8.797 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.6139, allocations: 0.9605 MB / 1.047 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.6142, allocations: 155.1 kB / 1.047 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.6143, allocations: 60.89 kB / 1.047 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.6157, allocations: 1.84 MB / 1.049 GB, free: 5.324 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.6157, allocations: 30.56 kB / 1.049 GB, free: 5.285 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.6157, allocations: 0 / 1.049 GB, free: 5.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003105/0.616, allocations: 147.7 kB / 1.049 GB, free: 5.137 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.6161, allocations: 59.34 kB / 1.049 GB, free: 5.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.6162, allocations: 169.1 kB / 1.049 GB, free: 4.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.6162, allocations: 33.7 kB / 1.049 GB, free: 4.852 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.6163, allocations: 143.8 kB / 1.05 GB, free: 4.707 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.6164, allocations: 55.22 kB / 1.05 GB, free: 4.652 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.6164, allocations: 25.72 kB / 1.05 GB, free: 4.621 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6165, allocations: 330.8 kB / 1.05 GB, free: 4.289 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.6166, allocations: 31.98 kB / 1.05 GB, free: 4.258 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.6167, allocations: 133.7 kB / 1.05 GB, free: 4.078 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.617, allocations: 197.5 kB / 1.05 GB, free: 3.836 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.617, allocations: 4 kB / 1.05 GB, free: 3.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003055/0.6173, allocations: 214.8 kB / 1.051 GB, free: 3.617 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6173, allocations: 8 kB / 1.051 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6173, allocations: 7.938 kB / 1.051 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6173, allocations: 4 kB / 1.051 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.6175, allocations: 59.84 kB / 1.051 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6175, allocations: 11.94 kB / 1.051 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.6177, allocations: 28.16 kB / 1.051 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.6177, allocations: 20 kB / 1.051 GB, free: 3.48 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 0.0001023/0.6178, allocations: 135.8 kB / 1.051 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.6178, allocations: 15.81 kB / 1.051 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.6181, allocations: 151 kB / 1.051 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6182, allocations: 3.938 kB / 1.051 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6182, allocations: 0 / 1.051 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6182, allocations: 0 / 1.051 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.6184, allocations: 221.4 kB / 1.051 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6184, allocations: 4 kB / 1.051 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.6185, allocations: 27.92 kB / 1.051 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6185, allocations: 4 kB / 1.051 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.6185, allocations: 4 kB / 1.051 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.6185, allocations: 3.938 kB / 1.051 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6186, allocations: 0 / 1.051 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.6188, allocations: 216.8 kB / 1.051 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.6189, allocations: 108.9 kB / 1.052 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.6189, allocations: 11.98 kB / 1.052 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.6191, allocations: 19.92 kB / 1.052 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.6192, allocations: 15.98 kB / 1.052 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.6192, allocations: 11.98 kB / 1.052 GB, free: 2.445 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.109e-05/0.6193, allocations: 129.5 kB / 1.052 GB, free: 2.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6193, allocations: 0 / 1.052 GB, free: 2.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003728/0.6197, allocations: 79.94 kB / 1.052 GB, free: 2.242 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.000309/0.62, allocations: 183.2 kB / 1.052 GB, free: 2.055 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.6202, allocations: 124.7 kB / 1.052 GB, free: 1.934 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6202, allocations: 0 / 1.052 GB, free: 1.934 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.6203, allocations: 49.05 kB / 1.052 GB, free: 1.887 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.6208, allocations: 56.64 kB / 1.052 GB, free: 1.832 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.6214, allocations: 463.1 kB / 1.053 GB, free: 1.352 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.6217, allocations: 0.7053 MB / 1.053 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.6218, allocations: 35.42 kB / 1.053 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.6218, allocations: 0 / 1.053 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of Templates: time 0.005295/0.6271, allocations: 3.401 MB / 1.057 GB, free: 13.21 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/jenkins1/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