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.001405/0.001406, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001558/0.001558, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.5 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.06 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3393, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01674/0.356, allocations: 12.98 MB / 1.039 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002951/0.359, allocations: 2.667 MB / 1.042 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3592, allocations: 4 kB / 1.042 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.3596, allocations: 43.69 kB / 1.042 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.3599, allocations: 99.41 kB / 1.042 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3611, allocations: 0.4966 MB / 1.043 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.3614, allocations: 231.9 kB / 1.043 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.594e-05/0.3614, allocations: 13.5 kB / 1.043 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.3715, allocations: 3.581 MB / 1.046 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3717, allocations: 95.59 kB / 1.046 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.3718, allocations: 8 kB / 1.046 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.3747, allocations: 1.073 MB / 1.047 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.3747, allocations: 35.89 kB / 1.048 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.3749, allocations: 91.53 kB / 1.048 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.3758, allocations: 367.1 kB / 1.048 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3758, allocations: 3.938 kB / 1.048 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3759, allocations: 0 / 1.048 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3759, allocations: 0 / 1.048 GB, free: 12.25 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.000878/0.3767, allocations: 0.4992 MB / 1.048 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3768, allocations: 12.03 kB / 1.048 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.377, allocations: 20.75 kB / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.3773, allocations: 216.1 kB / 1.049 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3773, allocations: 12.7 kB / 1.049 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3773, allocations: 16.38 kB / 1.049 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.3777, allocations: 252.2 kB / 1.049 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3778, allocations: 0 / 1.049 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3778, allocations: 8 kB / 1.049 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.3778, allocations: 4 kB / 1.049 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000541/0.3784, allocations: 435.3 kB / 1.049 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3797, allocations: 0.972 MB / 1.05 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.3801, allocations: 155.9 kB / 1.05 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3802, allocations: 68.81 kB / 1.051 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/0.382, allocations: 1.825 MB / 1.052 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.3821, allocations: 42.5 kB / 1.052 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.3821, allocations: 4 kB / 1.052 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0004089/0.3825, allocations: 140.3 kB / 1.053 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.3826, allocations: 59.33 kB / 1.053 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3828, allocations: 172.6 kB / 1.053 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.3828, allocations: 33.7 kB / 1.053 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3829, allocations: 143.8 kB / 1.053 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.383, allocations: 55.2 kB / 1.053 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.3831, allocations: 45.7 kB / 1.053 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.3833, allocations: 330.8 kB / 1.053 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.3834, allocations: 39.97 kB / 1.053 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.3836, allocations: 142.7 kB / 1.053 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.3838, allocations: 193.5 kB / 1.054 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3838, allocations: 0 / 1.054 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003426/0.3842, allocations: 220 kB / 1.054 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3842, allocations: 8.469 kB / 1.054 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3842, allocations: 8 kB / 1.054 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.3843, allocations: 4 kB / 1.054 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3845, allocations: 55.86 kB / 1.054 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.3845, allocations: 7.984 kB / 1.054 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.3846, allocations: 31.69 kB / 1.054 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3846, allocations: 12 kB / 1.054 GB, free: 5.34 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.0001351/0.3848, allocations: 125.8 kB / 1.054 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.3848, allocations: 23.75 kB / 1.054 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3852, allocations: 154.9 kB / 1.054 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3852, allocations: 7.938 kB / 1.054 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3852, allocations: 3.984 kB / 1.054 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.3852, allocations: 0 / 1.054 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.3856, allocations: 221.5 kB / 1.055 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3856, allocations: 0 / 1.055 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.3857, allocations: 27.98 kB / 1.055 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3857, allocations: 0 / 1.055 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3857, allocations: 3.938 kB / 1.055 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3857, allocations: 7.938 kB / 1.055 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3858, allocations: 3.984 kB / 1.055 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.386, allocations: 219.4 kB / 1.055 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3862, allocations: 108.9 kB / 1.055 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.3862, allocations: 11.98 kB / 1.055 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3864, allocations: 15.92 kB / 1.055 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.3865, allocations: 8 kB / 1.055 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.3865, allocations: 15.92 kB / 1.055 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.3866, allocations: 116 kB / 1.055 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3866, allocations: 4 kB / 1.055 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004125/0.387, allocations: 83.92 kB / 1.055 GB, free: 4.102 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.0003943/0.3874, allocations: 187 kB / 1.055 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.3877, allocations: 123.2 kB / 1.055 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3877, allocations: 4 kB / 1.055 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.513e-05/0.3878, allocations: 35.98 kB / 1.055 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3882, allocations: 60.77 kB / 1.056 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.389, allocations: 346.8 kB / 1.056 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3894, allocations: 0.7089 MB / 1.057 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.3895, allocations: 49.75 kB / 1.057 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.3896, allocations: 23.44 kB / 1.057 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3896, allocations: 0 / 1.057 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of Templates: time 0.007812/0.3974, allocations: 3.631 MB / 1.06 GB, free: 14.93 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 cvode -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