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.001962/0.001962, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001874/0.001874, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 65.28 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2837, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01723/0.301, allocations: 12.97 MB / 1.039 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.3041, allocations: 2.679 MB / 1.042 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.3043, allocations: 0 / 1.042 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.3047, allocations: 47.67 kB / 1.042 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.3051, allocations: 95.38 kB / 1.042 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.3064, allocations: 0.4923 MB / 1.043 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3067, allocations: 228 kB / 1.043 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.3068, allocations: 21.5 kB / 1.043 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.3177, allocations: 3.589 MB / 1.046 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.318, allocations: 91.66 kB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.3181, allocations: 8 kB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.3207, allocations: 1.065 MB / 1.048 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.3208, allocations: 43.89 kB / 1.048 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3209, allocations: 91.58 kB / 1.048 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008193/0.3218, allocations: 363 kB / 1.048 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3218, allocations: 4 kB / 1.048 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3218, allocations: 0 / 1.048 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3218, allocations: 0 / 1.048 GB, free: 12.15 MB / 0.8262 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.0007162/0.3225, allocations: 0.4914 MB / 1.048 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3226, allocations: 12.03 kB / 1.048 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.3228, allocations: 24.73 kB / 1.048 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.3231, allocations: 216.1 kB / 1.049 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3231, allocations: 16.7 kB / 1.049 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3231, allocations: 16.38 kB / 1.049 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.3235, allocations: 252.1 kB / 1.049 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3236, allocations: 0 / 1.049 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.3236, allocations: 8 kB / 1.049 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.3236, allocations: 11.98 kB / 1.049 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.3241, allocations: 431.3 kB / 1.049 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3254, allocations: 0.9682 MB / 1.05 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.3257, allocations: 163 kB / 1.051 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3258, allocations: 60.88 kB / 1.051 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.3272, allocations: 1.829 MB / 1.052 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3273, allocations: 38.56 kB / 1.052 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.3273, allocations: 0 / 1.052 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003568/0.3276, allocations: 149.4 kB / 1.053 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3277, allocations: 55.34 kB / 1.053 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3278, allocations: 172.7 kB / 1.053 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3279, allocations: 29.64 kB / 1.053 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.328, allocations: 143.8 kB / 1.053 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.328, allocations: 55.2 kB / 1.053 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.3281, allocations: 57.69 kB / 1.053 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3282, allocations: 322.8 kB / 1.053 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.3283, allocations: 35.97 kB / 1.053 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3284, allocations: 142.7 kB / 1.053 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.3287, allocations: 200 kB / 1.054 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3287, allocations: 4 kB / 1.054 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003216/0.329, allocations: 213.5 kB / 1.054 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.329, allocations: 8 kB / 1.054 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.329, allocations: 4 kB / 1.054 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3291, allocations: 4 kB / 1.054 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3292, allocations: 59.84 kB / 1.054 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.3293, allocations: 11.94 kB / 1.054 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3294, allocations: 27.69 kB / 1.054 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.3294, allocations: 12 kB / 1.054 GB, free: 5.234 MB / 0.8262 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.0001013/0.3295, allocations: 125.8 kB / 1.054 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.3296, allocations: 19.88 kB / 1.054 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.3299, allocations: 155 kB / 1.054 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.3299, allocations: 11.88 kB / 1.054 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3299, allocations: 4 kB / 1.054 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3299, allocations: 0 / 1.054 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3302, allocations: 221.4 kB / 1.055 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3302, allocations: 0 / 1.055 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.3303, allocations: 20 kB / 1.055 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3303, allocations: 3.984 kB / 1.055 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3303, allocations: 8 kB / 1.055 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3303, allocations: 7.938 kB / 1.055 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3303, allocations: 0 / 1.055 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3306, allocations: 218.3 kB / 1.055 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3307, allocations: 116.9 kB / 1.055 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3307, allocations: 0 / 1.055 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3309, allocations: 23.86 kB / 1.055 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.3309, allocations: 7.984 kB / 1.055 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.331, allocations: 16 kB / 1.055 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.785e-05/0.3311, allocations: 120 kB / 1.055 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3311, allocations: 3.938 kB / 1.055 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004018/0.3315, allocations: 75.92 kB / 1.055 GB, free: 4.004 MB / 0.8262 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.0003265/0.3318, allocations: 187.2 kB / 1.055 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.332, allocations: 119.7 kB / 1.055 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3321, allocations: 0 / 1.055 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.199e-05/0.3321, allocations: 44.86 kB / 1.055 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.3326, allocations: 51.95 kB / 1.056 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.3332, allocations: 342.8 kB / 1.056 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3335, allocations: 0.7128 MB / 1.057 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000158/0.3337, allocations: 45.75 kB / 1.057 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.3337, allocations: 23.42 kB / 1.057 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3338, allocations: 0 / 1.057 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of Templates: time 0.007053/0.3408, allocations: 3.633 MB / 1.06 GB, free: 14.85 MB / 0.8419 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches