Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006694/0.006693, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001297/0.001297, allocations: 194.8 kB / 16.67 MB, free: 6.379 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 / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.555/2.555, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 57.62 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3491, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01606/0.3652, allocations: 12.97 MB / 1.101 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003049/0.3683, allocations: 2.675 MB / 1.103 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.3684, allocations: 4 kB / 1.103 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.3688, allocations: 43.67 kB / 1.103 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.3692, allocations: 99.36 kB / 1.103 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3706, allocations: 0.5043 MB / 1.104 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.3709, allocations: 231.9 kB / 1.104 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.3709, allocations: 9.562 kB / 1.104 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008859/0.3798, allocations: 3.583 MB / 1.108 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.38, allocations: 87.61 kB / 1.108 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.3801, allocations: 8 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.3826, allocations: 1.063 MB / 1.109 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.3827, allocations: 39.89 kB / 1.109 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3828, allocations: 91.64 kB / 1.109 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000682/0.3835, allocations: 367 kB / 1.109 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3835, allocations: 0 / 1.109 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3835, allocations: 0 / 1.109 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3835, allocations: 0 / 1.109 GB, free: 11.57 MB / 0.8731 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.0007429/0.3843, allocations: 0.4992 MB / 1.11 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3843, allocations: 8.031 kB / 1.11 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.3845, allocations: 32.73 kB / 1.11 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3848, allocations: 212.2 kB / 1.11 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3849, allocations: 20.69 kB / 1.11 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3849, allocations: 12.38 kB / 1.11 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.3853, allocations: 248.2 kB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3853, allocations: 4 kB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3853, allocations: 4 kB / 1.11 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.3853, allocations: 11.98 kB / 1.11 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.3858, allocations: 435.3 kB / 1.111 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.387, allocations: 0.9604 MB / 1.112 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.3873, allocations: 161 kB / 1.112 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3874, allocations: 64.88 kB / 1.112 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.389, allocations: 1.825 MB / 1.114 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.389, allocations: 42.56 kB / 1.114 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3891, allocations: 0 / 1.114 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003738/0.3894, allocations: 145.3 kB / 1.114 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3895, allocations: 59.34 kB / 1.114 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3897, allocations: 163.3 kB / 1.114 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3897, allocations: 29.7 kB / 1.114 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3898, allocations: 143.8 kB / 1.114 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.3899, allocations: 55.19 kB / 1.114 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.39, allocations: 53.7 kB / 1.114 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3901, allocations: 322.8 kB / 1.115 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.3902, allocations: 35.97 kB / 1.115 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.3904, allocations: 146.7 kB / 1.115 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.3906, allocations: 203.9 kB / 1.115 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3906, allocations: 3.938 kB / 1.115 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003252/0.391, allocations: 213.5 kB / 1.115 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.391, allocations: 9.812 kB / 1.115 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.391, allocations: 4 kB / 1.115 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.391, allocations: 8 kB / 1.115 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3912, allocations: 59.84 kB / 1.115 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3912, allocations: 4 kB / 1.115 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3913, allocations: 27.69 kB / 1.115 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3914, allocations: 12 kB / 1.115 GB, free: 4.668 MB / 0.8731 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.0001085/0.3915, allocations: 129.7 kB / 1.115 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.3915, allocations: 23.81 kB / 1.115 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.3919, allocations: 162.2 kB / 1.116 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3919, allocations: 3.938 kB / 1.116 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3919, allocations: 4 kB / 1.116 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3919, allocations: 0 / 1.116 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3921, allocations: 217.5 kB / 1.116 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3922, allocations: 7.984 kB / 1.116 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.3922, allocations: 20 kB / 1.116 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3922, allocations: 0 / 1.116 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3923, allocations: 7.984 kB / 1.116 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3923, allocations: 3.938 kB / 1.116 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3923, allocations: 8 kB / 1.116 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3925, allocations: 219.1 kB / 1.116 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.3926, allocations: 109 kB / 1.116 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3927, allocations: 4 kB / 1.116 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.3929, allocations: 15.92 kB / 1.116 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.3929, allocations: 11.98 kB / 1.116 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3929, allocations: 8 kB / 1.116 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.23e-05/0.393, allocations: 132.8 kB / 1.116 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.393, allocations: 0 / 1.116 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000388/0.3934, allocations: 83.91 kB / 1.116 GB, free: 3.426 MB / 0.8731 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.0003142/0.3937, allocations: 187 kB / 1.117 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.394, allocations: 119.8 kB / 1.117 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.394, allocations: 0 / 1.117 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.3941, allocations: 43.92 kB / 1.117 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.3945, allocations: 56.88 kB / 1.117 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.3952, allocations: 341.6 kB / 1.117 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3955, allocations: 0.7166 MB / 1.118 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.3956, allocations: 49.73 kB / 1.118 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.3957, allocations: 27.42 kB / 1.118 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.3957, allocations: 0 / 1.118 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of Templates: time 0.007014/0.4027, allocations: 3.651 MB / 1.121 GB, free: 14.23 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches