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.001295/0.001295, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.001286/0.001287, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 57.41 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2722, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01478/0.2871, allocations: 12.97 MB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.2899, allocations: 2.675 MB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.29, allocations: 4 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.2904, allocations: 47.67 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.2907, allocations: 91.38 kB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.2919, allocations: 0.5017 MB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.2922, allocations: 235.9 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.2922, allocations: 13.5 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008576/0.3008, allocations: 3.579 MB / 1.038 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.301, allocations: 91.59 kB / 1.039 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.3011, allocations: 8 kB / 1.039 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.3036, allocations: 1.069 MB / 1.04 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.3037, allocations: 35.89 kB / 1.04 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3038, allocations: 87.58 kB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.3045, allocations: 367 kB / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3046, allocations: 0 / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3046, allocations: 0 / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3046, allocations: 0 / 1.04 GB, free: 4.02 MB / 0.8106 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.0007182/0.3053, allocations: 0.5032 MB / 1.041 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3053, allocations: 8.922 kB / 1.041 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.3055, allocations: 28.73 kB / 1.041 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3058, allocations: 216.1 kB / 1.041 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3058, allocations: 12.7 kB / 1.041 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3058, allocations: 12.38 kB / 1.041 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.3062, allocations: 256.2 kB / 1.041 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3062, allocations: 0 / 1.041 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3062, allocations: 8 kB / 1.041 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.3063, allocations: 7.984 kB / 1.041 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.3067, allocations: 427.3 kB / 1.041 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.3078, allocations: 0.9644 MB / 1.042 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.3081, allocations: 158.7 kB / 1.043 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3082, allocations: 67.06 kB / 1.043 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.3095, allocations: 1.829 MB / 1.044 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3096, allocations: 42.55 kB / 1.044 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3096, allocations: 0 / 1.044 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003373/0.3099, allocations: 147.8 kB / 1.045 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.31, allocations: 55.34 kB / 1.045 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3101, allocations: 172.2 kB / 1.045 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3101, allocations: 29.7 kB / 1.045 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.3102, allocations: 143.8 kB / 1.045 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.3103, allocations: 55.2 kB / 1.045 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.3103, allocations: 53.62 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3105, allocations: 322.8 kB / 1.045 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.3105, allocations: 39.97 kB / 1.045 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3107, allocations: 150.7 kB / 1.046 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.3109, allocations: 193.5 kB / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3109, allocations: 0 / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003206/0.3112, allocations: 219.5 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3113, allocations: 11.94 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3113, allocations: 4 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3113, allocations: 4 kB / 1.046 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3115, allocations: 55.86 kB / 1.046 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3115, allocations: 7.984 kB / 1.046 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3116, allocations: 32.16 kB / 1.046 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3116, allocations: 12 kB / 1.046 GB, free: 13.11 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.0001076/0.3117, allocations: 129.8 kB / 1.046 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.3118, allocations: 19.81 kB / 1.046 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.3121, allocations: 162.8 kB / 1.046 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3121, allocations: 7.938 kB / 1.046 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.3122, allocations: 0 / 1.046 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3122, allocations: 0 / 1.046 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3124, allocations: 221.4 kB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3124, allocations: 4 kB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.3125, allocations: 20 kB / 1.047 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3125, allocations: 0 / 1.047 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3125, allocations: 7.984 kB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3126, allocations: 7.938 kB / 1.047 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3126, allocations: 0 / 1.047 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.3128, allocations: 221.4 kB / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.3129, allocations: 108.9 kB / 1.047 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3129, allocations: 4 kB / 1.047 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.3131, allocations: 23.92 kB / 1.047 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.3132, allocations: 7.984 kB / 1.047 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3132, allocations: 12 kB / 1.047 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.134e-05/0.3133, allocations: 116 kB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3133, allocations: 0 / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003921/0.3137, allocations: 83.92 kB / 1.047 GB, free: 11.88 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.00031/0.314, allocations: 194.9 kB / 1.047 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3143, allocations: 124.6 kB / 1.047 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3143, allocations: 4.062 kB / 1.047 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.3144, allocations: 43.92 kB / 1.048 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3148, allocations: 55.94 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.3155, allocations: 338.9 kB / 1.048 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3158, allocations: 0.7205 MB / 1.049 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.3159, allocations: 45.75 kB / 1.049 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.3159, allocations: 23.42 kB / 1.049 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.316, allocations: 4 kB / 1.049 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of Templates: time 0.007094/0.3231, allocations: 3.62 MB / 1.052 GB, free: 6.703 MB / 0.8262 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 -s gbode -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