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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001542/0.001542, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001698/0.001698, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.84 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6554, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01575/0.6712, allocations: 12.98 MB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.6739, allocations: 2.667 MB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.674, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.6743, allocations: 51.67 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.6746, allocations: 95.34 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.6758, allocations: 0.5091 MB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.6761, allocations: 236 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.6761, allocations: 13.36 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007878/0.684, allocations: 3.589 MB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.6842, allocations: 87.66 kB / 1.228 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.6842, allocations: 8 kB / 1.228 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.6864, allocations: 1.083 MB / 1.229 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.6865, allocations: 43.83 kB / 1.229 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.6866, allocations: 75.66 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.6873, allocations: 371 kB / 1.23 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6873, allocations: 0 / 1.23 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6873, allocations: 0 / 1.23 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6873, allocations: 0 / 1.23 GB, free: 7.801 MB / 0.9512 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.0007272/0.688, allocations: 0.5031 MB / 1.23 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6881, allocations: 8.031 kB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.6883, allocations: 24.75 kB / 1.23 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.6885, allocations: 220 kB / 1.23 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6885, allocations: 8.703 kB / 1.23 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.6886, allocations: 24.36 kB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.689, allocations: 248.2 kB / 1.231 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.689, allocations: 4 kB / 1.231 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.689, allocations: 8 kB / 1.231 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.6891, allocations: 8 kB / 1.231 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.6895, allocations: 423.5 kB / 1.231 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.6907, allocations: 0.9566 MB / 1.232 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.6909, allocations: 165 kB / 1.232 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.6911, allocations: 66.41 kB / 1.232 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.6924, allocations: 1.833 MB / 1.234 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6925, allocations: 38.55 kB / 1.234 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.6925, allocations: 0 / 1.234 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003481/0.6928, allocations: 144.1 kB / 1.234 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.6929, allocations: 59.34 kB / 1.234 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.693, allocations: 168 kB / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.6931, allocations: 33.7 kB / 1.235 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.6931, allocations: 139.8 kB / 1.235 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.6932, allocations: 55.17 kB / 1.235 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.6933, allocations: 57.61 kB / 1.235 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6934, allocations: 322.8 kB / 1.235 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.6935, allocations: 31.98 kB / 1.235 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.6936, allocations: 143 kB / 1.235 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.6939, allocations: 197.5 kB / 1.235 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6939, allocations: 7.938 kB / 1.235 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003356/0.6942, allocations: 215.4 kB / 1.236 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6942, allocations: 4 kB / 1.236 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6942, allocations: 7.984 kB / 1.236 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.6943, allocations: 8 kB / 1.236 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.6945, allocations: 48.39 kB / 1.236 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.6945, allocations: 11.88 kB / 1.236 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.6946, allocations: 31.69 kB / 1.236 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.6946, allocations: 16 kB / 1.236 GB, free: 0.8906 MB / 0.9512 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.0001138/0.6948, allocations: 133.7 kB / 1.236 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.6948, allocations: 15.81 kB / 1.236 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.6951, allocations: 151 kB / 1.236 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6951, allocations: 0 / 1.236 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6951, allocations: 3.938 kB / 1.236 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.6952, allocations: 116.8 kB / 1.236 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.6953, allocations: 11.94 kB / 1.236 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.6955, allocations: 15.98 kB / 1.236 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.6956, allocations: 7.984 kB / 1.236 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002332/0.6958, allocations: 188.9 kB / 1.236 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000281/0.6961, allocations: 303.7 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.938e-05/0.6962, allocations: 43.2 kB / 1.237 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.534e-05/0.6963, allocations: 128.2 kB / 1.237 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of Backend: time 4.51e-07/0.6963, allocations: 0 / 1.237 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008242/0.6971, allocations: 338.8 kB / 1.237 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0008133/0.6979, allocations: 0.7888 MB / 1.238 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.008762/0.7067, allocations: 5.162 MB / 1.243 GB, free: 9.449 MB / 0.9669 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