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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00115/0.00115, allocations: 106.5 kB / 16.27 MB, free: 5.902 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.001126/0.001126, allocations: 189.8 kB / 17.2 MB, free: 5.547 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 64.03 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2814, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01772/0.2992, allocations: 12.98 MB / 0.9629 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.3023, allocations: 2.667 MB / 0.9655 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3025, allocations: 0 / 0.9655 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.3029, allocations: 47.67 kB / 0.9656 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.3033, allocations: 99.36 kB / 0.9657 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.3047, allocations: 0.4939 MB / 0.9662 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.3051, allocations: 235.9 kB / 0.9664 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 7.049e-05/0.3051, allocations: 13.5 kB / 0.9664 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008642/0.3138, allocations: 3.584 MB / 0.9699 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.314, allocations: 87.67 kB / 0.97 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.314, allocations: 8 kB / 0.97 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.3167, allocations: 1.062 MB / 0.971 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.3168, allocations: 39.83 kB / 0.9711 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3169, allocations: 91.58 kB / 0.9712 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.3179, allocations: 367 kB / 0.9715 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3179, allocations: 0 / 0.9715 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3179, allocations: 4 kB / 0.9715 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.3179, allocations: 0 / 0.9715 GB, free: 3.066 MB / 0.7481 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.0008112/0.3187, allocations: 496.8 kB / 0.972 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3188, allocations: 12.03 kB / 0.972 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.319, allocations: 20.83 kB / 0.972 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.3192, allocations: 224 kB / 0.9722 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3192, allocations: 20.7 kB / 0.9722 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.3193, allocations: 16.38 kB / 0.9723 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.3197, allocations: 256.1 kB / 0.9725 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3198, allocations: 0 / 0.9725 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.3198, allocations: 12 kB / 0.9725 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.3198, allocations: 4 kB / 0.9725 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.3203, allocations: 427.5 kB / 0.9729 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3216, allocations: 0.9682 MB / 0.9739 GB, free: 460 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.3219, allocations: 162.3 kB / 0.974 GB, free: 292 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.322, allocations: 64.88 kB / 0.9741 GB, free: 224 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.3234, allocations: 1.833 MB / 0.9759 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3235, allocations: 42.5 kB / 0.9759 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3235, allocations: 0 / 0.9759 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0003506/0.3238, allocations: 141.5 kB / 0.9761 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3239, allocations: 55.34 kB / 0.9761 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3241, allocations: 167.3 kB / 0.9763 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3241, allocations: 25.7 kB / 0.9763 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.3242, allocations: 143.8 kB / 0.9764 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.3242, allocations: 59.19 kB / 0.9765 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.3243, allocations: 53.7 kB / 0.9765 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3244, allocations: 318.8 kB / 0.9768 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.3245, allocations: 39.97 kB / 0.9769 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3246, allocations: 142.2 kB / 0.977 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.3248, allocations: 191.9 kB / 0.9772 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3249, allocations: 4 kB / 0.9772 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003232/0.3252, allocations: 217.4 kB / 0.9774 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3252, allocations: 12.06 kB / 0.9774 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3252, allocations: 4 kB / 0.9774 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3252, allocations: 4 kB / 0.9774 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3254, allocations: 55.86 kB / 0.9775 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3255, allocations: 11.98 kB / 0.9775 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3256, allocations: 23.69 kB / 0.9775 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3256, allocations: 12 kB / 0.9775 GB, free: 12.17 MB / 0.7637 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.0001143/0.3257, allocations: 129.8 kB / 0.9777 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.3258, allocations: 15.81 kB / 0.9777 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.3261, allocations: 161.9 kB / 0.9778 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.3261, allocations: 11.92 kB / 0.9778 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3261, allocations: 0 / 0.9778 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3261, allocations: 0 / 0.9778 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3264, allocations: 217.4 kB / 0.978 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3264, allocations: 0 / 0.978 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.3265, allocations: 31.92 kB / 0.9781 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3265, allocations: 0 / 0.9781 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3265, allocations: 11.94 kB / 0.9781 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.3265, allocations: 11.92 kB / 0.9781 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3265, allocations: 7.984 kB / 0.9781 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.3267, allocations: 207.4 kB / 0.9783 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.3268, allocations: 116.9 kB / 0.9784 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3269, allocations: 0 / 0.9784 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3271, allocations: 19.92 kB / 0.9784 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.3271, allocations: 4 kB / 0.9784 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3271, allocations: 15.98 kB / 0.9784 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 8.31e-05/0.3272, allocations: 132.9 kB / 0.9786 GB, free: 11 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3272, allocations: 0 / 0.9786 GB, free: 11 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003999/0.3276, allocations: 79.92 kB / 0.9786 GB, free: 10.93 MB / 0.7637 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.0003865/0.328, allocations: 183.1 kB / 0.9788 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.3283, allocations: 123.7 kB / 0.9789 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3283, allocations: 4 kB / 0.9789 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.3284, allocations: 43.92 kB / 0.979 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3288, allocations: 60.81 kB / 0.979 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.3296, allocations: 371.2 kB / 0.9794 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3299, allocations: 0.7128 MB / 0.9801 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.3299, allocations: 31.44 kB / 0.9801 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of SimCode: time 3.91e-07/0.3299, allocations: 0 / 0.9801 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of Templates: time 0.005847/0.3358, allocations: 3.417 MB / 0.9835 GB, free: 5.949 MB / 0.7637 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