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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009418/0.0009418, allocations: 90.52 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.007863/0.007863, allocations: 171.1 kB / 16.26 MB, free: 6.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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 443.3 MB / 0.7175 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 9 kB / 0.8796 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3245, allocations: 155.2 MB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01972/0.3443, allocations: 13.36 MB / 1.044 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.3477, allocations: 2.644 MB / 1.047 GB, free: 4.238 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3479, allocations: 8 kB / 1.047 GB, free: 4.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3482, allocations: 39.8 kB / 1.047 GB, free: 4.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.3486, allocations: 83.48 kB / 1.047 GB, free: 4.109 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3499, allocations: 457.5 kB / 1.047 GB, free: 3.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.3503, allocations: 311.8 kB / 1.048 GB, free: 3.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.3504, allocations: 13.56 kB / 1.048 GB, free: 3.348 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008757/0.3591, allocations: 3.16 MB / 1.051 GB, free: 172 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.3594, allocations: 91.66 kB / 1.051 GB, free: 80 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.3594, allocations: 8 kB / 1.051 GB, free: 72 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.3625, allocations: 0.9747 MB / 1.052 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.3626, allocations: 35.83 kB / 1.052 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3628, allocations: 105.3 kB / 1.052 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.364, allocations: 363 kB / 1.052 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.364, allocations: 4 kB / 1.052 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.047e-06/0.364, allocations: 4 kB / 1.052 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.364, allocations: 0 / 1.052 GB, free: 14.59 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.0009087/0.3649, allocations: 471.3 kB / 1.053 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.365, allocations: 11.98 kB / 1.053 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.3652, allocations: 24.73 kB / 1.053 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3655, allocations: 220 kB / 1.053 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3655, allocations: 8.703 kB / 1.053 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3656, allocations: 20.36 kB / 1.053 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.366, allocations: 252.2 kB / 1.053 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.366, allocations: 0 / 1.053 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.366, allocations: 8 kB / 1.053 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.3661, allocations: 11.98 kB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.3666, allocations: 431.3 kB / 1.054 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.3679, allocations: 0.9605 MB / 1.055 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3682, allocations: 159.6 kB / 1.055 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3683, allocations: 72.86 kB / 1.055 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.3701, allocations: 1.833 MB / 1.057 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.3701, allocations: 38.56 kB / 1.057 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.3702, allocations: 0 / 1.057 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0005415/0.3707, allocations: 147.5 kB / 1.057 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3708, allocations: 59.34 kB / 1.057 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.371, allocations: 175.2 kB / 1.057 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.3711, allocations: 29.7 kB / 1.057 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3712, allocations: 139.8 kB / 1.057 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.3713, allocations: 55.28 kB / 1.057 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.3714, allocations: 25.7 kB / 1.057 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3715, allocations: 326.8 kB / 1.058 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3716, allocations: 39.97 kB / 1.058 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.3718, allocations: 133.7 kB / 1.058 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.3722, allocations: 193.5 kB / 1.058 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3722, allocations: 0 / 1.058 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005296/0.3728, allocations: 222.2 kB / 1.058 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3728, allocations: 8 kB / 1.058 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3728, allocations: 4 kB / 1.058 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3729, allocations: 4 kB / 1.058 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3731, allocations: 55.86 kB / 1.058 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3732, allocations: 8.406 kB / 1.058 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.3734, allocations: 35.73 kB / 1.058 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.3734, allocations: 8 kB / 1.058 GB, free: 7.738 MB / 0.8106 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.000187/0.3736, allocations: 137.7 kB / 1.058 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.3737, allocations: 15.81 kB / 1.058 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.3742, allocations: 152.5 kB / 1.058 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.3742, allocations: 11.92 kB / 1.058 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3742, allocations: 0 / 1.058 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3742, allocations: 7.938 kB / 1.059 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.3747, allocations: 221.5 kB / 1.059 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3747, allocations: 0 / 1.059 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3748, allocations: 23.98 kB / 1.059 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3748, allocations: 0 / 1.059 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3749, allocations: 8 kB / 1.059 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.3749, allocations: 7.922 kB / 1.059 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3749, allocations: 3.938 kB / 1.059 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.3752, allocations: 216.6 kB / 1.059 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.3754, allocations: 116.8 kB / 1.059 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.3755, allocations: 4 kB / 1.059 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3758, allocations: 19.92 kB / 1.059 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.3759, allocations: 11.98 kB / 1.059 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3759, allocations: 8 kB / 1.059 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001306/0.376, allocations: 120 kB / 1.059 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.376, allocations: 4 kB / 1.059 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007114/0.3768, allocations: 75.98 kB / 1.059 GB, free: 6.5 MB / 0.8106 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.0005149/0.3773, allocations: 187.1 kB / 1.059 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.3777, allocations: 119.8 kB / 1.06 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3777, allocations: 0 / 1.06 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3778, allocations: 45.33 kB / 1.06 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.3785, allocations: 52.89 kB / 1.06 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.3795, allocations: 437.3 kB / 1.06 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.38, allocations: 0.7131 MB / 1.061 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003062/0.3803, allocations: 53.69 kB / 1.061 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.3804, allocations: 27.42 kB / 1.061 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3804, allocations: 0 / 1.061 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of Templates: time 0.01136/0.3917, allocations: 3.505 MB / 1.064 GB, free: 1.363 MB / 0.8106 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