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.002061/0.002061, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.002314/0.002314, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 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.48/2.48, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.12 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3748, allocations: 151.7 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.01736/0.3922, allocations: 12.97 MB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.3954, allocations: 2.663 MB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3956, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.396, allocations: 47.67 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.3964, allocations: 95.42 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3979, allocations: 0.4961 MB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.3983, allocations: 239.9 kB / 1.035 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.3983, allocations: 21.48 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008989/0.4073, allocations: 3.581 MB / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.4076, allocations: 87.67 kB / 1.039 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.4076, allocations: 8 kB / 1.039 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.4108, allocations: 1.073 MB / 1.04 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.4109, allocations: 35.83 kB / 1.04 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.411, allocations: 87.58 kB / 1.04 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4121, allocations: 371.1 kB / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4122, allocations: 0 / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4122, allocations: 0 / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4122, allocations: 0 / 1.04 GB, free: 4.023 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.000999/0.4132, allocations: 0.4953 MB / 1.041 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4132, allocations: 8.922 kB / 1.041 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.4135, allocations: 28.73 kB / 1.041 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.4138, allocations: 220.1 kB / 1.041 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4138, allocations: 8.703 kB / 1.041 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.4138, allocations: 24.3 kB / 1.041 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.4143, allocations: 240.3 kB / 1.041 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4143, allocations: 3.984 kB / 1.041 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.4143, allocations: 12 kB / 1.041 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.4144, allocations: 4 kB / 1.041 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.4149, allocations: 435.3 kB / 1.041 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.416, allocations: 0.9605 MB / 1.042 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.4163, allocations: 155.7 kB / 1.043 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.4164, allocations: 63.06 kB / 1.043 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.4178, allocations: 1.836 MB / 1.044 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4179, allocations: 34.56 kB / 1.044 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.4179, allocations: 0 / 1.044 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003728/0.4182, allocations: 143.9 kB / 1.045 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4183, allocations: 55.34 kB / 1.045 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.4185, allocations: 176.2 kB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4185, allocations: 29.7 kB / 1.045 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.4186, allocations: 135.8 kB / 1.045 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.4186, allocations: 59.2 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/0.4187, allocations: 57.62 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4189, allocations: 330.8 kB / 1.045 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.4189, allocations: 35.92 kB / 1.045 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.4191, allocations: 142.7 kB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.4194, allocations: 201.5 kB / 1.046 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4194, allocations: 0 / 1.046 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003292/0.4197, allocations: 227.3 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4197, allocations: 4 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4198, allocations: 4 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4198, allocations: 4 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.42, allocations: 63.84 kB / 1.046 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.42, allocations: 4 kB / 1.046 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.4201, allocations: 27.69 kB / 1.046 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4201, allocations: 16 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.0001155/0.4202, allocations: 133.9 kB / 1.046 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.4203, allocations: 19.8 kB / 1.046 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.4206, allocations: 151 kB / 1.046 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.4206, allocations: 3.938 kB / 1.046 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4206, allocations: 0 / 1.046 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4207, allocations: 3.984 kB / 1.046 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.4209, allocations: 221.4 kB / 1.047 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4209, allocations: 0 / 1.047 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.421, allocations: 27.92 kB / 1.047 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.421, allocations: 4 kB / 1.047 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.421, allocations: 8 kB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4211, allocations: 3.938 kB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4211, allocations: 0 / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4213, allocations: 221.5 kB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.4214, allocations: 108.9 kB / 1.047 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4214, allocations: 4 kB / 1.047 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4216, allocations: 15.92 kB / 1.047 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.4217, allocations: 15.98 kB / 1.047 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.4217, allocations: 8 kB / 1.047 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.587e-05/0.4218, allocations: 123.9 kB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4218, allocations: 0 / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003899/0.4222, allocations: 75.94 kB / 1.047 GB, free: 11.89 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.0003776/0.4226, allocations: 195 kB / 1.047 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4228, allocations: 119.7 kB / 1.047 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4229, allocations: 0.9375 kB / 1.047 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.4229, allocations: 47.92 kB / 1.048 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4234, allocations: 59.89 kB / 1.048 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007654/0.4241, allocations: 332.8 kB / 1.048 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4245, allocations: 0.7166 MB / 1.049 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.4246, allocations: 57.66 kB / 1.049 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.4247, allocations: 27.44 kB / 1.049 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.4247, allocations: 0 / 1.049 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.007146/0.4318, allocations: 3.63 MB / 1.052 GB, free: 6.707 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 cvode -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