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.00721/0.00721, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.00142/0.00142, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 55.91 kB / 1.054 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8277, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01649/0.8442, allocations: 12.97 MB / 1.22 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.8473, allocations: 2.667 MB / 1.223 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.8475, allocations: 4 kB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.8479, allocations: 43.69 kB / 1.223 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.8482, allocations: 99.28 kB / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.8497, allocations: 0.513 MB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.85, allocations: 228 kB / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.8501, allocations: 13.3 kB / 1.224 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008672/0.8588, allocations: 3.576 MB / 1.227 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.859, allocations: 91.59 kB / 1.227 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.859, allocations: 8 kB / 1.228 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.862, allocations: 1.081 MB / 1.229 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.8621, allocations: 35.89 kB / 1.229 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.8622, allocations: 83.64 kB / 1.229 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007846/0.863, allocations: 367 kB / 1.229 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.863, allocations: 4 kB / 1.229 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/0.863, allocations: 0 / 1.229 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.8631, allocations: 4 kB / 1.229 GB, free: 7.758 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.0008369/0.8639, allocations: 0.4991 MB / 1.23 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.864, allocations: 8.031 kB / 1.23 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.8641, allocations: 28.73 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.8644, allocations: 220 kB / 1.23 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.8645, allocations: 16.7 kB / 1.23 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.8645, allocations: 12.38 kB / 1.23 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.8649, allocations: 256 kB / 1.23 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8649, allocations: 0 / 1.23 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.8649, allocations: 4 kB / 1.23 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.865, allocations: 11.98 kB / 1.23 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.8655, allocations: 423.5 kB / 1.23 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.8666, allocations: 0.9566 MB / 1.231 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.8669, allocations: 159 kB / 1.232 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.867, allocations: 68.88 kB / 1.232 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.8684, allocations: 1.833 MB / 1.233 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.8685, allocations: 38.56 kB / 1.233 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.8685, allocations: 0 / 1.233 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003341/0.8688, allocations: 148 kB / 1.234 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.8689, allocations: 59.41 kB / 1.234 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.869, allocations: 164 kB / 1.234 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.869, allocations: 33.7 kB / 1.234 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.8691, allocations: 139.8 kB / 1.234 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.8692, allocations: 55.19 kB / 1.234 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.8693, allocations: 53.61 kB / 1.234 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8694, allocations: 326.8 kB / 1.234 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.8694, allocations: 35.97 kB / 1.234 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.8696, allocations: 135 kB / 1.235 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.8698, allocations: 201.5 kB / 1.235 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8698, allocations: 0 / 1.235 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00032/0.8701, allocations: 215.3 kB / 1.235 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8702, allocations: 9.719 kB / 1.235 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8702, allocations: 0 / 1.235 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8702, allocations: 12.41 kB / 1.235 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.8704, allocations: 51.92 kB / 1.235 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.8704, allocations: 15.92 kB / 1.235 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/0.8705, allocations: 23.75 kB / 1.235 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.8705, allocations: 12 kB / 1.235 GB, free: 0.8594 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 9.95e-05/0.8706, allocations: 137.7 kB / 1.235 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.8707, allocations: 15.81 kB / 1.235 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.871, allocations: 162.8 kB / 1.235 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.871, allocations: 3.938 kB / 1.235 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.871, allocations: 4 kB / 1.235 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.871, allocations: 4 kB / 1.235 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.8713, allocations: 221.4 kB / 1.236 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8713, allocations: 0 / 1.236 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.8714, allocations: 20 kB / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8714, allocations: 0 / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.8714, allocations: 7.984 kB / 1.236 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.8714, allocations: 11.94 kB / 1.236 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8714, allocations: 0 / 1.236 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.8717, allocations: 219.4 kB / 1.236 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.8718, allocations: 108.9 kB / 1.236 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.8718, allocations: 4 kB / 1.236 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.872, allocations: 19.92 kB / 1.236 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.8721, allocations: 7.984 kB / 1.236 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.8721, allocations: 8 kB / 1.236 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.366e-05/0.8722, allocations: 124.2 kB / 1.236 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8722, allocations: 0 / 1.236 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003894/0.8726, allocations: 83.89 kB / 1.236 GB, free: 15.62 MB / 0.9669 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.0003339/0.8729, allocations: 184.3 kB / 1.236 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.8732, allocations: 124 kB / 1.236 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8732, allocations: 0 / 1.236 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.8733, allocations: 46.88 kB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.8737, allocations: 60.5 kB / 1.237 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.8745, allocations: 342.8 kB / 1.237 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.8748, allocations: 0.7168 MB / 1.238 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.8749, allocations: 45.75 kB / 1.238 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.875, allocations: 27.42 kB / 1.238 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.875, allocations: 0 / 1.238 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of Templates: time 0.007557/0.8825, allocations: 3.687 MB / 1.241 GB, free: 10.39 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/jenkins/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