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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001316/0.001316, allocations: 109.1 kB / 16.41 MB, free: 6.387 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.00138/0.00138, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.33/1.33, 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.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.83 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6878, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01455/0.7024, allocations: 12.98 MB / 1.18 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.7053, allocations: 2.664 MB / 1.183 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.7054, allocations: 3.938 kB / 1.183 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.7058, allocations: 43.69 kB / 1.183 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.7062, allocations: 103.4 kB / 1.183 GB, free: 4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.7078, allocations: 0.5114 MB / 1.183 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.7082, allocations: 235.9 kB / 1.183 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.7083, allocations: 9.562 kB / 1.184 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/0.72, allocations: 3.582 MB / 1.187 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.7203, allocations: 95.59 kB / 1.187 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.7203, allocations: 12 kB / 1.187 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.7238, allocations: 1.075 MB / 1.188 GB, free: 14.47 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.7239, allocations: 35.83 kB / 1.188 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.724, allocations: 83.61 kB / 1.188 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008254/0.7249, allocations: 366.8 kB / 1.189 GB, free: 13.99 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7249, allocations: 7.984 kB / 1.189 GB, free: 13.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7249, allocations: 0 / 1.189 GB, free: 13.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.7249, allocations: 0 / 1.189 GB, free: 13.98 MB / 0.92 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.0009193/0.7258, allocations: 0.5065 MB / 1.189 GB, free: 13.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7259, allocations: 12.86 kB / 1.189 GB, free: 13.42 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.7261, allocations: 20.84 kB / 1.189 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.7264, allocations: 224.1 kB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.7265, allocations: 8.703 kB / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.7265, allocations: 20.38 kB / 1.189 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.727, allocations: 244.2 kB / 1.19 GB, free: 12.86 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.727, allocations: 0 / 1.19 GB, free: 12.86 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.7271, allocations: 8 kB / 1.19 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.7271, allocations: 4 kB / 1.19 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006731/0.7278, allocations: 431.5 kB / 1.19 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.7293, allocations: 0.9682 MB / 1.191 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.7297, allocations: 168.5 kB / 1.191 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.7299, allocations: 60.88 kB / 1.191 GB, free: 11.13 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/0.7319, allocations: 1.833 MB / 1.193 GB, free: 8.941 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7319, allocations: 34.56 kB / 1.193 GB, free: 8.898 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.7319, allocations: 7.938 kB / 1.193 GB, free: 8.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0004192/0.7324, allocations: 143.8 kB / 1.193 GB, free: 8.746 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7324, allocations: 55.34 kB / 1.193 GB, free: 8.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.7326, allocations: 171.3 kB / 1.193 GB, free: 8.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.7326, allocations: 25.7 kB / 1.193 GB, free: 8.469 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.7328, allocations: 152 kB / 1.194 GB, free: 8.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.7328, allocations: 55.53 kB / 1.194 GB, free: 8.262 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.7329, allocations: 49.7 kB / 1.194 GB, free: 8.207 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7331, allocations: 326.8 kB / 1.194 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.7332, allocations: 31.98 kB / 1.194 GB, free: 7.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.7334, allocations: 145.6 kB / 1.194 GB, free: 7.656 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.7337, allocations: 195.9 kB / 1.194 GB, free: 7.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7337, allocations: 4 kB / 1.194 GB, free: 7.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004871/0.7342, allocations: 217.1 kB / 1.195 GB, free: 7.195 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7342, allocations: 8.469 kB / 1.195 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.7343, allocations: 4 kB / 1.195 GB, free: 7.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.7343, allocations: 8 kB / 1.195 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.7345, allocations: 59.92 kB / 1.195 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.098e-05/0.7346, allocations: 11.92 kB / 1.195 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.7348, allocations: 27.78 kB / 1.195 GB, free: 7.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.7349, allocations: 19.92 kB / 1.195 GB, free: 7.059 MB / 0.92 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.000137/0.735, allocations: 129.8 kB / 1.195 GB, free: 6.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.7351, allocations: 15.91 kB / 1.195 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.7355, allocations: 158.9 kB / 1.195 GB, free: 6.746 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.7355, allocations: 7.984 kB / 1.195 GB, free: 6.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7355, allocations: 3.938 kB / 1.195 GB, free: 6.734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.7356, allocations: 108.9 kB / 1.195 GB, free: 6.609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.7357, allocations: 7.938 kB / 1.195 GB, free: 6.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.736, allocations: 11.98 kB / 1.195 GB, free: 6.59 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.736, allocations: 15.97 kB / 1.195 GB, free: 6.574 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002989/0.7363, allocations: 194.1 kB / 1.195 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003556/0.7367, allocations: 297 kB / 1.196 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.395e-05/0.7368, allocations: 43.91 kB / 1.196 GB, free: 6.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001713/0.737, allocations: 120.9 kB / 1.196 GB, free: 5.914 MB / 0.92 GB Notification: Performance of Backend: time 3.8e-07/0.737, allocations: 4 kB / 1.196 GB, free: 5.91 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.7381, allocations: 350.1 kB / 1.196 GB, free: 5.562 MB / 0.92 GB Notification: Performance of SimCode: time 0.0009841/0.7391, allocations: 0.7809 MB / 1.197 GB, free: 4.734 MB / 0.92 GB Notification: Performance of Templates: time 0.01278/0.7519, allocations: 5.172 MB / 1.202 GB, free: 15.59 MB / 0.9356 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 -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