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.001561/0.001561, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001714/0.001715, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 59.91 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.778/0.7796, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01567/0.7953, allocations: 12.96 MB / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.7984, allocations: 2.663 MB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.7986, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.799, allocations: 51.66 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.7994, allocations: 87.38 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.8011, allocations: 0.505 MB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.8015, allocations: 239.9 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.602e-05/0.8015, allocations: 11.39 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00847/0.81, allocations: 3.587 MB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.8102, allocations: 91.64 kB / 1.228 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.8103, allocations: 12 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.813, allocations: 1.075 MB / 1.229 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.8131, allocations: 43.81 kB / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.8132, allocations: 79.66 kB / 1.229 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.8142, allocations: 359.1 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8142, allocations: 0 / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8142, allocations: 4 kB / 1.23 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8142, allocations: 3.938 kB / 1.23 GB, free: 7.914 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.0008081/0.8151, allocations: 0.507 MB / 1.23 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.8151, allocations: 8.031 kB / 1.23 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.8153, allocations: 24.75 kB / 1.23 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.8156, allocations: 220 kB / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.8156, allocations: 8.703 kB / 1.23 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.8157, allocations: 16.38 kB / 1.23 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.8161, allocations: 248.2 kB / 1.231 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.8161, allocations: 7.938 kB / 1.231 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.8161, allocations: 7.984 kB / 1.231 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.8161, allocations: 8 kB / 1.231 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.8166, allocations: 423.5 kB / 1.231 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.8178, allocations: 0.9605 MB / 1.232 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.8181, allocations: 153.3 kB / 1.232 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.8182, allocations: 68.88 kB / 1.232 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/0.8197, allocations: 1.829 MB / 1.234 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.8197, allocations: 42.5 kB / 1.234 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.8197, allocations: 0 / 1.234 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.000359/0.8201, allocations: 145.5 kB / 1.234 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.8201, allocations: 59.34 kB / 1.234 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.8203, allocations: 171.9 kB / 1.234 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.8203, allocations: 33.7 kB / 1.235 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.8204, allocations: 135.8 kB / 1.235 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.8205, allocations: 55.19 kB / 1.235 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.8206, allocations: 53.61 kB / 1.235 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8207, allocations: 326.8 kB / 1.235 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.8208, allocations: 31.98 kB / 1.235 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.8209, allocations: 139 kB / 1.235 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.8212, allocations: 198.8 kB / 1.235 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8212, allocations: 4 kB / 1.235 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003372/0.8215, allocations: 212.4 kB / 1.236 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8216, allocations: 4 kB / 1.236 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8216, allocations: 8.406 kB / 1.236 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8216, allocations: 12 kB / 1.236 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.8218, allocations: 59.84 kB / 1.236 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.8218, allocations: 7.938 kB / 1.236 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.8219, allocations: 23.75 kB / 1.236 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.822, allocations: 12 kB / 1.236 GB, free: 1.016 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 0.0001066/0.8221, allocations: 141.7 kB / 1.236 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.8221, allocations: 19.81 kB / 1.236 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.8224, allocations: 151 kB / 1.236 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.8225, allocations: 3.938 kB / 1.236 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8225, allocations: 7.938 kB / 1.236 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8225, allocations: 4 kB / 1.236 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.8228, allocations: 221.4 kB / 1.236 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.8228, allocations: 0 / 1.236 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-05/0.8229, allocations: 27.92 kB / 1.236 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.8229, allocations: 0 / 1.236 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.8229, allocations: 4 kB / 1.236 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.823, allocations: 3.938 kB / 1.236 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.823, allocations: 7.984 kB / 1.236 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.8232, allocations: 219.3 kB / 1.237 GB, free: 148 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.8233, allocations: 104.9 kB / 1.237 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.8233, allocations: 0 / 1.237 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.8236, allocations: 19.92 kB / 1.237 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.8236, allocations: 15.92 kB / 1.237 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.8237, allocations: 11.98 kB / 1.237 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.124e-05/0.8238, allocations: 124.2 kB / 1.237 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8238, allocations: 0 / 1.237 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004069/0.8242, allocations: 83.91 kB / 1.237 GB, free: 15.77 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.0003246/0.8245, allocations: 183 kB / 1.237 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.8248, allocations: 117.7 kB / 1.237 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.8248, allocations: 4 kB / 1.237 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.8249, allocations: 47.91 kB / 1.237 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.8253, allocations: 56.84 kB / 1.237 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006951/0.826, allocations: 364.6 kB / 1.238 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.8263, allocations: 0.7129 MB / 1.238 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.8264, allocations: 35.36 kB / 1.238 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.8264, allocations: 0 / 1.238 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.005864/0.8323, allocations: 3.423 MB / 1.242 GB, free: 10.81 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/jenkins1/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