Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007646/0.007646, allocations: 101.5 kB / 15.73 MB, free: 6.422 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.001969/0.001969, allocations: 191.3 kB / 16.67 MB, free: 6.352 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 62.66 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2621, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01479/0.2769, allocations: 12.98 MB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.2796, allocations: 2.671 MB / 1.103 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2798, allocations: 0 / 1.103 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.2801, allocations: 47.67 kB / 1.103 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.2804, allocations: 87.44 kB / 1.103 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.2816, allocations: 0.4989 MB / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.2819, allocations: 239.9 kB / 1.104 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.282, allocations: 9.562 kB / 1.104 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007756/0.2897, allocations: 3.587 MB / 1.107 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2899, allocations: 87.67 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.2899, allocations: 12 kB / 1.107 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.2921, allocations: 1.061 MB / 1.108 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.2922, allocations: 43.81 kB / 1.108 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.2923, allocations: 75.66 kB / 1.108 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.2929, allocations: 375 kB / 1.109 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2929, allocations: 4 kB / 1.109 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2929, allocations: 0 / 1.109 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.2929, allocations: 3.938 kB / 1.109 GB, free: 12.11 MB / 0.8731 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.0007108/0.2937, allocations: 0.5031 MB / 1.109 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2937, allocations: 8.031 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.2938, allocations: 50.73 kB / 1.109 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.2939, allocations: 24.75 kB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2942, allocations: 212.1 kB / 1.11 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2942, allocations: 24.67 kB / 1.11 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2942, allocations: 12.38 kB / 1.11 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.2946, allocations: 252 kB / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2946, allocations: 0 / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.2946, allocations: 8 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.2947, allocations: 7.938 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.2952, allocations: 427.3 kB / 1.11 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.2962, allocations: 0.9682 MB / 1.111 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.2965, allocations: 155.1 kB / 1.111 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2966, allocations: 64.88 kB / 1.111 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.2979, allocations: 1.829 MB / 1.113 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2979, allocations: 38.56 kB / 1.113 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.2979, allocations: 4 kB / 1.113 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003257/0.2982, allocations: 151.6 kB / 1.113 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.2983, allocations: 51.41 kB / 1.113 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.2984, allocations: 167.3 kB / 1.114 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2984, allocations: 29.7 kB / 1.114 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.2985, allocations: 135.8 kB / 1.114 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.2986, allocations: 59.19 kB / 1.114 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.2986, allocations: 53.59 kB / 1.114 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.2987, allocations: 330.8 kB / 1.114 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.2988, allocations: 35.98 kB / 1.114 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2989, allocations: 139.2 kB / 1.114 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.2992, allocations: 205.3 kB / 1.115 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2992, allocations: 0 / 1.115 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003373/0.2995, allocations: 208 kB / 1.115 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2995, allocations: 8.469 kB / 1.115 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2996, allocations: 8 kB / 1.115 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2996, allocations: 7.938 kB / 1.115 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.2998, allocations: 55.91 kB / 1.115 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2998, allocations: 4 kB / 1.115 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2999, allocations: 31.69 kB / 1.115 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2999, allocations: 11.94 kB / 1.115 GB, free: 5.152 MB / 0.8731 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.0001039/0.3, allocations: 133.7 kB / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.3001, allocations: 23.81 kB / 1.115 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.3004, allocations: 159.1 kB / 1.115 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3004, allocations: 7.938 kB / 1.115 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3004, allocations: 0 / 1.115 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3004, allocations: 0 / 1.115 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3007, allocations: 217.5 kB / 1.115 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3007, allocations: 0 / 1.115 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.3008, allocations: 27.92 kB / 1.115 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3008, allocations: 0 / 1.115 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3008, allocations: 4 kB / 1.115 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3008, allocations: 7.938 kB / 1.115 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3008, allocations: 0 / 1.115 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.3011, allocations: 223.1 kB / 1.116 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.3012, allocations: 109 kB / 1.116 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3012, allocations: 4 kB / 1.116 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3014, allocations: 19.92 kB / 1.116 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.3014, allocations: 7.984 kB / 1.116 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3015, allocations: 15.98 kB / 1.116 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.525e-05/0.3016, allocations: 120.9 kB / 1.116 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3016, allocations: 11.94 kB / 1.116 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003936/0.302, allocations: 75.94 kB / 1.116 GB, free: 3.91 MB / 0.8731 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.0006467/0.3026, allocations: 0.8363 MB / 1.117 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3029, allocations: 119.7 kB / 1.117 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3029, allocations: 4.938 kB / 1.117 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.3029, allocations: 43.92 kB / 1.117 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.3034, allocations: 63.81 kB / 1.117 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3055, allocations: 2.036 MB / 1.119 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3057, allocations: 0.7128 MB / 1.12 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.3059, allocations: 49.73 kB / 1.12 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.306, allocations: 43.42 kB / 1.12 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/0.306, allocations: 4 kB / 1.12 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.3264, allocations: 5.49 MB / 1.125 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.984, allocations: 7.906 kB / 1.125 GB, free: 10.42 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches