Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",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.00558/0.00558, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001392/0.001392, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 63.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2827, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006268/0.289, allocations: 4.736 MB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.2918, allocations: 2.691 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.292, allocations: 0 / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.2923, allocations: 55.61 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.2926, allocations: 99.34 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.2939, allocations: 0.5089 MB / 1.228 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.2942, allocations: 239.9 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.2943, allocations: 13.56 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2945, allocations: 115.6 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2947, allocations: 91.59 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.2947, allocations: 8 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.2955, allocations: 367.3 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.2956, allocations: 39.89 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.957e-05/0.2957, allocations: 79.64 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.2963, allocations: 358.9 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2963, allocations: 0 / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2963, allocations: 4 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2963, allocations: 0 / 1.229 GB, free: 5.211 MB / 0.9825 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.0007004/0.2971, allocations: 0.4986 MB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2971, allocations: 16.02 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.2972, allocations: 54.69 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2973, allocations: 28.83 kB / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2976, allocations: 212.1 kB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2976, allocations: 16.7 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2977, allocations: 12.38 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.298, allocations: 248 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.298, allocations: 11.94 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.2981, allocations: 4 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.2981, allocations: 12 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.2986, allocations: 423.5 kB / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.2997, allocations: 0.945 MB / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3, allocations: 163.1 kB / 1.231 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3001, allocations: 64.88 kB / 1.232 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.3014, allocations: 1.825 MB / 1.233 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3014, allocations: 38.56 kB / 1.233 GB, free: 80 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.3014, allocations: 0 / 1.233 GB, free: 80 kB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003368/0.3018, allocations: 149.4 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.3018, allocations: 55.41 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.302, allocations: 175.2 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.302, allocations: 29.7 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.3021, allocations: 148.1 kB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.3021, allocations: 55.52 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.3022, allocations: 61.64 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3023, allocations: 322.8 kB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.3024, allocations: 31.98 kB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3025, allocations: 146.2 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.3028, allocations: 203.7 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3028, allocations: 0 / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003263/0.3031, allocations: 209.4 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3031, allocations: 4 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3032, allocations: 4 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3032, allocations: 15.92 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3034, allocations: 51.92 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.3034, allocations: 7.938 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3035, allocations: 35.67 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3035, allocations: 12.38 kB / 1.235 GB, free: 14.24 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 0.0001127/0.3037, allocations: 138.2 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.3037, allocations: 11.95 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.304, allocations: 155 kB / 1.235 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3041, allocations: 3.938 kB / 1.235 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3041, allocations: 4 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3041, allocations: 0 / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3043, allocations: 217.5 kB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3043, allocations: 0 / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.191e-05/0.3044, allocations: 31.92 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3044, allocations: 0 / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3045, allocations: 4 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3045, allocations: 7.938 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3045, allocations: 4 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3047, allocations: 218.3 kB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.3048, allocations: 105 kB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.3049, allocations: 8 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3051, allocations: 15.92 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.3051, allocations: 19.92 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3051, allocations: 8 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.483e-05/0.3052, allocations: 119.9 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3052, allocations: 0 / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004041/0.3056, allocations: 83.81 kB / 1.236 GB, free: 13.01 MB / 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.0007194/0.3064, allocations: 0.8333 MB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.3066, allocations: 123.5 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3066, allocations: 3.938 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.3067, allocations: 43.92 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.3072, allocations: 53.7 kB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3093, allocations: 2.042 MB / 1.239 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3095, allocations: 0.7168 MB / 1.24 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.3097, allocations: 37.83 kB / 1.24 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.3098, allocations: 47.42 kB / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3098, allocations: 0 / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.3314, allocations: 5.265 MB / 1.245 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.007, allocations: 10.3 kB / 1.245 GB, free: 3.723 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.WaterProperties_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_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches