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.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: "" <> 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.00246/0.00246, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002264/0.002264, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.245/2.245, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.227/4.227, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002684, allocations: 68.3 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5361, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.01187/0.548, allocations: 4.755 MB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005414/0.5535, allocations: 2.695 MB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.5538, allocations: 0 / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.5545, allocations: 43.73 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006546/0.5552, allocations: 79.5 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.5579, allocations: 477.8 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.5585, allocations: 231.9 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.5586, allocations: 9.562 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004322/0.5591, allocations: 115.6 kB / 1.061 GB, free: 252 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.5593, allocations: 103.6 kB / 1.061 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.5593, allocations: 8 kB / 1.061 GB, free: 140 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.5604, allocations: 371.2 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.5606, allocations: 39.83 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.5607, allocations: 83.64 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.5625, allocations: 359.4 kB / 1.062 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.5626, allocations: 3.938 kB / 1.062 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5626, allocations: 0 / 1.062 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.5626, allocations: 0 / 1.062 GB, free: 15.3 MB / 0.8262 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.00181/0.5644, allocations: 0.4954 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.5645, allocations: 12.62 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.561e-05/0.5646, allocations: 54.73 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.5649, allocations: 24.69 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.5652, allocations: 216.1 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.5652, allocations: 12.7 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.5653, allocations: 20.38 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.5657, allocations: 251.8 kB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5658, allocations: 3.938 kB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.5658, allocations: 12 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.5658, allocations: 4 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.5663, allocations: 435.5 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.5676, allocations: 0.941 MB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.5679, allocations: 160.5 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.568, allocations: 64.88 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/0.5695, allocations: 1.829 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5696, allocations: 34.56 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.5696, allocations: 0 / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003557/0.5699, allocations: 149.4 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.57, allocations: 51.41 kB / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.5701, allocations: 179.9 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.5702, allocations: 25.7 kB / 1.066 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.5703, allocations: 139.8 kB / 1.066 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.5703, allocations: 63.17 kB / 1.067 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.5704, allocations: 49.7 kB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5706, allocations: 318.8 kB / 1.067 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.5706, allocations: 35.98 kB / 1.067 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.5708, allocations: 146.2 kB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.571, allocations: 196 kB / 1.067 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.571, allocations: 4 kB / 1.067 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003334/0.5714, allocations: 213.1 kB / 1.067 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5714, allocations: 8 kB / 1.067 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5714, allocations: 4 kB / 1.067 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5714, allocations: 7.938 kB / 1.067 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.5716, allocations: 55.91 kB / 1.068 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.5716, allocations: 12.41 kB / 1.068 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.5718, allocations: 31.69 kB / 1.068 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5718, allocations: 12 kB / 1.068 GB, free: 8.348 MB / 0.8262 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.0001232/0.5719, allocations: 133.8 kB / 1.068 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.572, allocations: 19.81 kB / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.5723, allocations: 157.2 kB / 1.068 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.5723, allocations: 7.938 kB / 1.068 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5723, allocations: 0 / 1.068 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5723, allocations: 4 kB / 1.068 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.5726, allocations: 221.4 kB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5726, allocations: 0 / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.5727, allocations: 23.98 kB / 1.068 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5727, allocations: 0 / 1.068 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.5728, allocations: 8 kB / 1.068 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.5728, allocations: 7.938 kB / 1.068 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5728, allocations: 3.938 kB / 1.068 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.5731, allocations: 223.3 kB / 1.068 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5732, allocations: 108.9 kB / 1.068 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.5732, allocations: 0 / 1.068 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.5734, allocations: 19.92 kB / 1.068 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.5735, allocations: 11.98 kB / 1.068 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.5735, allocations: 11.98 kB / 1.068 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.426e-05/0.5736, allocations: 116 kB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5736, allocations: 0 / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004448/0.5741, allocations: 83.92 kB / 1.069 GB, free: 7.113 MB / 0.8262 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.0008934/0.575, allocations: 0.8355 MB / 1.069 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.5752, allocations: 119.8 kB / 1.07 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5752, allocations: 0 / 1.07 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.5753, allocations: 51.86 kB / 1.07 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.5758, allocations: 56.83 kB / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.5781, allocations: 2.081 MB / 1.072 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.5784, allocations: 0.7128 MB / 1.072 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.5785, allocations: 49.75 kB / 1.072 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.5786, allocations: 43.42 kB / 1.073 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.5786, allocations: 0 / 1.073 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3991/0.9778, allocations: 5.113 MB / 1.078 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003969/0.9782, allocations: 186.1 kB / 1.078 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.373/5.351, allocations: 0 / 1.078 GB, free: 13.72 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/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