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.00101/0.00101, allocations: 98.64 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.001299/0.001299, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 11.61 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3057, allocations: 159.6 MB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01492/0.3207, allocations: 13.37 MB / 1.072 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.3234, allocations: 2.652 MB / 1.075 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3235, allocations: 0 / 1.075 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.3237, allocations: 39.73 kB / 1.075 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.3239, allocations: 87.5 kB / 1.075 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.3249, allocations: 471.2 kB / 1.076 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.3252, allocations: 303.8 kB / 1.076 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.3253, allocations: 17.47 kB / 1.076 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007079/0.3324, allocations: 3.142 MB / 1.079 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.3326, allocations: 95.59 kB / 1.079 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.3326, allocations: 12 kB / 1.079 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.3348, allocations: 0.9708 MB / 1.08 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.3349, allocations: 35.89 kB / 1.08 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.335, allocations: 109.4 kB / 1.08 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.3354, allocations: 251.4 kB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3354, allocations: 0 / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3354, allocations: 3.938 kB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3355, allocations: 0 / 1.08 GB, free: 15.44 MB / 0.8419 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.000657/0.3361, allocations: 471.3 kB / 1.081 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3362, allocations: 11.97 kB / 1.081 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.3363, allocations: 24.75 kB / 1.081 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3365, allocations: 224.1 kB / 1.081 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3366, allocations: 12.7 kB / 1.081 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.3366, allocations: 12.38 kB / 1.081 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.337, allocations: 256.1 kB / 1.081 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.337, allocations: 3.938 kB / 1.081 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.337, allocations: 4 kB / 1.081 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.3371, allocations: 12 kB / 1.081 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.3375, allocations: 427.5 kB / 1.082 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3387, allocations: 0.9644 MB / 1.083 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.3389, allocations: 152.9 kB / 1.083 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.339, allocations: 64.83 kB / 1.083 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.3404, allocations: 1.836 MB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3404, allocations: 34.56 kB / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.3404, allocations: 0 / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003132/0.3407, allocations: 147.5 kB / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.3408, allocations: 59.28 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3409, allocations: 179.9 kB / 1.085 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.341, allocations: 29.7 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.3411, allocations: 139.8 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.3411, allocations: 51.34 kB / 1.085 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3411, allocations: 25.72 kB / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3413, allocations: 326.8 kB / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.3413, allocations: 35.98 kB / 1.086 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3415, allocations: 137.7 kB / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.3417, allocations: 201.5 kB / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3418, allocations: 4 kB / 1.086 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003462/0.3421, allocations: 216 kB / 1.086 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3422, allocations: 8 kB / 1.086 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3422, allocations: 7.984 kB / 1.086 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3422, allocations: 4 kB / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3424, allocations: 59.84 kB / 1.086 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.3424, allocations: 15.88 kB / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.3425, allocations: 27.73 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.3426, allocations: 12 kB / 1.086 GB, free: 8.582 MB / 0.8419 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.0001302/0.3427, allocations: 143.9 kB / 1.086 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.3427, allocations: 15.81 kB / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.3431, allocations: 147 kB / 1.087 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.3432, allocations: 7.938 kB / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3432, allocations: 0 / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3432, allocations: 0 / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.3435, allocations: 217.5 kB / 1.087 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3435, allocations: 0 / 1.087 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.3436, allocations: 27.92 kB / 1.087 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3436, allocations: 4 kB / 1.087 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3436, allocations: 12 kB / 1.087 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3436, allocations: 3.938 kB / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3436, allocations: 0 / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3439, allocations: 215.4 kB / 1.087 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.344, allocations: 116.8 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3441, allocations: 0 / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3443, allocations: 31.86 kB / 1.087 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3443, allocations: 7.984 kB / 1.087 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3444, allocations: 15.98 kB / 1.087 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.382e-05/0.3445, allocations: 120 kB / 1.087 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3445, allocations: 0 / 1.087 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004161/0.3449, allocations: 76 kB / 1.087 GB, free: 7.348 MB / 0.8419 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.0003563/0.3453, allocations: 187 kB / 1.088 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3455, allocations: 123.5 kB / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3455, allocations: 4 kB / 1.088 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.3456, allocations: 43.92 kB / 1.088 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.3461, allocations: 55.94 kB / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.3468, allocations: 459.1 kB / 1.088 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3471, allocations: 0.7092 MB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.3472, allocations: 31.42 kB / 1.089 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.3472, allocations: 0 / 1.089 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of Templates: time 0.005991/0.3532, allocations: 3.406 MB / 1.092 GB, free: 2.312 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 -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