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.001075/0.001075, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.01052/0.01052, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.546/1.546, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 15.23 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3364, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02306/0.3595, allocations: 13.35 MB / 1.072 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.3622, allocations: 2.656 MB / 1.074 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.3623, allocations: 4 kB / 1.074 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3626, allocations: 39.8 kB / 1.074 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.3628, allocations: 87.44 kB / 1.074 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3639, allocations: 469.9 kB / 1.075 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3642, allocations: 299.9 kB / 1.075 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.3643, allocations: 21.47 kB / 1.075 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007216/0.3715, allocations: 3.147 MB / 1.078 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3717, allocations: 91.66 kB / 1.078 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3717, allocations: 11.94 kB / 1.078 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3742, allocations: 0.9672 MB / 1.079 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.3743, allocations: 39.89 kB / 1.079 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3744, allocations: 101.4 kB / 1.079 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.3751, allocations: 371 kB / 1.08 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3752, allocations: 0 / 1.08 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3752, allocations: 0 / 1.08 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3752, allocations: 4 kB / 1.08 GB, free: 15.77 MB / 0.8419 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.0006954/0.3759, allocations: 471.3 kB / 1.08 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3759, allocations: 8.031 kB / 1.08 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.3761, allocations: 20.75 kB / 1.08 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3763, allocations: 224.1 kB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3763, allocations: 8.703 kB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3764, allocations: 20.38 kB / 1.081 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.3767, allocations: 252 kB / 1.081 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3768, allocations: 0 / 1.081 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.3768, allocations: 8 kB / 1.081 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.3768, allocations: 12 kB / 1.081 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.3773, allocations: 428.1 kB / 1.081 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3784, allocations: 0.9643 MB / 1.082 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.3787, allocations: 159.1 kB / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3788, allocations: 64.88 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.3801, allocations: 1.829 MB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3801, allocations: 50.48 kB / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.3801, allocations: 0 / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003349/0.3805, allocations: 143.2 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.3805, allocations: 55.34 kB / 1.084 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3807, allocations: 179.9 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3807, allocations: 29.7 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.3808, allocations: 143.7 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.3808, allocations: 51.34 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3809, allocations: 21.72 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.381, allocations: 334.8 kB / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.3811, allocations: 35.98 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3812, allocations: 142.1 kB / 1.085 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.3815, allocations: 203.6 kB / 1.085 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3815, allocations: 0 / 1.085 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002979/0.3818, allocations: 217.5 kB / 1.086 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3818, allocations: 8.031 kB / 1.086 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3818, allocations: 8 kB / 1.086 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3818, allocations: 4 kB / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.382, allocations: 59.84 kB / 1.086 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.382, allocations: 11.92 kB / 1.086 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3822, allocations: 27.75 kB / 1.086 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.3822, allocations: 8 kB / 1.086 GB, free: 8.914 MB / 0.8419 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.0001119/0.3823, allocations: 143 kB / 1.086 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.3823, allocations: 15.81 kB / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3826, allocations: 154.9 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3826, allocations: 7.938 kB / 1.086 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3827, allocations: 0 / 1.086 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3827, allocations: 0 / 1.086 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.3829, allocations: 217.5 kB / 1.086 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3829, allocations: 0 / 1.086 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.383, allocations: 23.98 kB / 1.086 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.383, allocations: 0 / 1.086 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.383, allocations: 8 kB / 1.086 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.383, allocations: 7.938 kB / 1.086 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.383, allocations: 3.938 kB / 1.086 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.3833, allocations: 217.5 kB / 1.087 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.3833, allocations: 112.8 kB / 1.087 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3834, allocations: 0 / 1.087 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.3836, allocations: 23.92 kB / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.3836, allocations: 11.98 kB / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3837, allocations: 15.98 kB / 1.087 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.3837, allocations: 120 kB / 1.087 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3837, allocations: 0 / 1.087 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003673/0.3841, allocations: 75.94 kB / 1.087 GB, free: 7.684 MB / 0.8419 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.0003253/0.3844, allocations: 191 kB / 1.087 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3847, allocations: 119.8 kB / 1.087 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3847, allocations: 4.875 kB / 1.087 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.3847, allocations: 43.08 kB / 1.087 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.3853, allocations: 55.89 kB / 1.087 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.3861, allocations: 441.3 kB / 1.088 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3864, allocations: 0.7053 MB / 1.088 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.3867, allocations: 53.73 kB / 1.088 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.3867, allocations: 23.44 kB / 1.088 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3867, allocations: 0 / 1.088 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of Templates: time 0.007778/0.3945, allocations: 3.515 MB / 1.092 GB, free: 2.531 MB / 0.8419 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