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.008598/0.008598, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001748/0.001749, allocations: 191 kB / 16.67 MB, free: 5.934 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 57.59 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3374, 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.01634/0.3538, allocations: 12.98 MB / 1.101 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.3569, allocations: 2.671 MB / 1.103 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3571, allocations: 4 kB / 1.103 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3574, allocations: 47.67 kB / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.3578, allocations: 95.42 kB / 1.103 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3592, allocations: 0.5145 MB / 1.104 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.3595, allocations: 231.9 kB / 1.104 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.3595, allocations: 13.55 kB / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009042/0.3686, allocations: 3.581 MB / 1.108 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.3688, allocations: 91.61 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3689, allocations: 8 kB / 1.108 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.3715, allocations: 1.077 MB / 1.109 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.3715, allocations: 31.89 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.3716, allocations: 83.64 kB / 1.109 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007524/0.3724, allocations: 374.7 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3724, allocations: 4 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.736e-06/0.3724, allocations: 0 / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3725, allocations: 4 kB / 1.109 GB, free: 11.55 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.0009199/0.3734, allocations: 0.4986 MB / 1.11 GB, free: 11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3734, allocations: 16.02 kB / 1.11 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.3736, allocations: 20.84 kB / 1.11 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.374, allocations: 216.1 kB / 1.11 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.374, allocations: 16.69 kB / 1.11 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.374, allocations: 20.36 kB / 1.11 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.3744, allocations: 256.1 kB / 1.11 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3744, allocations: 0 / 1.11 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3745, allocations: 8 kB / 1.11 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.3745, allocations: 4 kB / 1.11 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.375, allocations: 439.3 kB / 1.111 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3762, allocations: 0.9567 MB / 1.112 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3765, allocations: 157 kB / 1.112 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3766, allocations: 60.88 kB / 1.112 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/0.3781, allocations: 1.837 MB / 1.114 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.3782, allocations: 38.5 kB / 1.114 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.3782, allocations: 0 / 1.114 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003359/0.3785, allocations: 145.5 kB / 1.114 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3786, allocations: 59.34 kB / 1.114 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3788, allocations: 171.3 kB / 1.114 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3788, allocations: 29.7 kB / 1.114 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.3789, allocations: 140.1 kB / 1.114 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.3789, allocations: 55.58 kB / 1.114 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.379, allocations: 53.66 kB / 1.114 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3791, allocations: 330.8 kB / 1.115 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.3792, allocations: 31.98 kB / 1.115 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3794, allocations: 143.1 kB / 1.115 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.3797, allocations: 199.6 kB / 1.115 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.3797, allocations: 4 kB / 1.115 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003304/0.3801, allocations: 217 kB / 1.115 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3801, allocations: 8 kB / 1.115 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3801, allocations: 4 kB / 1.115 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3801, allocations: 4 kB / 1.115 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.3803, allocations: 60.31 kB / 1.115 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3803, allocations: 12 kB / 1.115 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3804, allocations: 23.84 kB / 1.115 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3805, allocations: 16 kB / 1.115 GB, free: 4.629 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.0001371/0.3806, allocations: 129.7 kB / 1.115 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.3807, allocations: 19.89 kB / 1.115 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.381, allocations: 154.1 kB / 1.116 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.381, allocations: 7.938 kB / 1.116 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.381, allocations: 0 / 1.116 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.381, allocations: 4 kB / 1.116 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3813, allocations: 221.5 kB / 1.116 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3813, allocations: 3.984 kB / 1.116 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.3814, allocations: 31.98 kB / 1.116 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3814, allocations: 0 / 1.116 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3814, allocations: 4 kB / 1.116 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3814, allocations: 7.875 kB / 1.116 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3814, allocations: 0 / 1.116 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.3817, allocations: 219.2 kB / 1.116 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3818, allocations: 120.9 kB / 1.116 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3819, allocations: 4 kB / 1.116 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3821, allocations: 15.92 kB / 1.116 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.3821, allocations: 11.98 kB / 1.116 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3821, allocations: 8 kB / 1.116 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.012e-05/0.3822, allocations: 128.9 kB / 1.116 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3822, allocations: 0 / 1.116 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004166/0.3826, allocations: 75.88 kB / 1.116 GB, free: 3.391 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.0003475/0.383, allocations: 194.9 kB / 1.117 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3833, allocations: 124.1 kB / 1.117 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3833, allocations: 0 / 1.117 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.3833, allocations: 35.98 kB / 1.117 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.3838, allocations: 54.22 kB / 1.117 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.3845, allocations: 341.9 kB / 1.117 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3849, allocations: 0.7166 MB / 1.118 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.385, allocations: 61.66 kB / 1.118 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.3851, allocations: 23.44 kB / 1.118 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of SimCode: time 6.42e-07/0.3851, allocations: 0 / 1.118 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of Templates: time 0.00773/0.3928, allocations: 3.651 MB / 1.121 GB, free: 14.18 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