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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_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.004944/0.004944, allocations: 98.69 kB / 15.73 MB, free: 6.027 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.00128/0.00128, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.715/2.715, allocations: 469.4 MB / 0.7422 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.88 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.263, allocations: 159.1 MB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01431/0.2774, allocations: 12.97 MB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.28, allocations: 2.667 MB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2801, allocations: 4 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.2804, allocations: 51.67 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2807, allocations: 99.36 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2818, allocations: 0.5155 MB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.2821, allocations: 228 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.2822, allocations: 13.55 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008524/0.2907, allocations: 3.58 MB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.2909, allocations: 91.67 kB / 1.24 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.2909, allocations: 8 kB / 1.24 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.2931, allocations: 1.082 MB / 1.241 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.2932, allocations: 31.89 kB / 1.241 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.2933, allocations: 87.64 kB / 1.241 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.294, allocations: 370.9 kB / 1.241 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.294, allocations: 0 / 1.241 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.294, allocations: 0 / 1.241 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.294, allocations: 0 / 1.241 GB, free: 8.695 MB / 0.9981 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.0007031/0.2947, allocations: 0.5063 MB / 1.242 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2948, allocations: 8.031 kB / 1.242 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.2949, allocations: 54.72 kB / 1.242 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.295, allocations: 24.83 kB / 1.242 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2953, allocations: 216.1 kB / 1.242 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2953, allocations: 20.7 kB / 1.242 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2954, allocations: 12.38 kB / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.2957, allocations: 248 kB / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2957, allocations: 3.938 kB / 1.242 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.2958, allocations: 8 kB / 1.242 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.2958, allocations: 7.984 kB / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.2963, allocations: 431.5 kB / 1.243 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2973, allocations: 0.9567 MB / 1.244 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.2976, allocations: 155.1 kB / 1.244 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.2977, allocations: 68.81 kB / 1.244 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.299, allocations: 1.84 MB / 1.246 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.299, allocations: 38.56 kB / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.502e-06/0.299, allocations: 0 / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000332/0.2994, allocations: 145.5 kB / 1.246 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.2994, allocations: 55.34 kB / 1.246 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2996, allocations: 171.3 kB / 1.246 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2996, allocations: 29.69 kB / 1.246 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.2997, allocations: 148 kB / 1.246 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.2997, allocations: 55.53 kB / 1.246 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.2998, allocations: 57.66 kB / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.2999, allocations: 318.8 kB / 1.246 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.3, allocations: 39.97 kB / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3001, allocations: 142.2 kB / 1.247 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3003, allocations: 207.8 kB / 1.247 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.391e-06/0.3004, allocations: 4 kB / 1.247 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003154/0.3007, allocations: 205.6 kB / 1.247 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3007, allocations: 12.09 kB / 1.247 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3007, allocations: 4 kB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3007, allocations: 7.938 kB / 1.247 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3009, allocations: 63.84 kB / 1.247 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3009, allocations: 11.94 kB / 1.247 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3011, allocations: 31.73 kB / 1.247 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3011, allocations: 8 kB / 1.247 GB, free: 1.699 MB / 0.9981 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 9.812e-05/0.3012, allocations: 134.2 kB / 1.247 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.3012, allocations: 11.95 kB / 1.247 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.3015, allocations: 162.9 kB / 1.247 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.3016, allocations: 7.938 kB / 1.247 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3016, allocations: 0 / 1.247 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3016, allocations: 0 / 1.247 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.3018, allocations: 217.5 kB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3018, allocations: 0 / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.46e-05/0.3019, allocations: 27.92 kB / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3019, allocations: 0 / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.302, allocations: 8 kB / 1.248 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.302, allocations: 3.938 kB / 1.248 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.302, allocations: 4 kB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3022, allocations: 214.3 kB / 1.248 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.362e-05/0.3023, allocations: 117 kB / 1.248 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3023, allocations: 3.938 kB / 1.248 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3026, allocations: 19.92 kB / 1.248 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.3026, allocations: 11.97 kB / 1.248 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.3026, allocations: 12 kB / 1.248 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.383e-05/0.3027, allocations: 127.9 kB / 1.248 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3027, allocations: 0 / 1.248 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003984/0.3031, allocations: 75.81 kB / 1.248 GB, free: 480 kB / 0.9981 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.4994/0.8026, allocations: 0.8276 MB / 1.249 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.8029, allocations: 117.8 kB / 1.249 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.8029, allocations: 0.875 kB / 1.249 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.803, allocations: 46.73 kB / 1.249 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.8036, allocations: 54.39 kB / 1.249 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.8054, allocations: 2.039 MB / 1.251 GB, free: 30.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.8055, allocations: 0.7139 MB / 1.252 GB, free: 29.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.8057, allocations: 55.95 kB / 1.252 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.8058, allocations: 44.05 kB / 1.252 GB, free: 29.53 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.8058, allocations: 0 / 1.252 GB, free: 29.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.8264, allocations: 5.502 MB / 1.257 GB, free: 28.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/8.273, allocations: 9.906 kB / 1.257 GB, free: 28.91 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/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