Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_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.0008588/0.0008589, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005201/0.005201, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5252, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01395/0.5392, allocations: 13.37 MB / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.5417, allocations: 2.648 MB / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.5418, allocations: 3.938 kB / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.542, allocations: 39.75 kB / 1.039 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.5422, allocations: 91.47 kB / 1.039 GB, free: 15.66 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.5433, allocations: 454.7 kB / 1.039 GB, free: 15.22 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.5435, allocations: 311.8 kB / 1.04 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.5436, allocations: 13.56 kB / 1.04 GB, free: 14.9 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005707/0.5493, allocations: 3.156 MB / 1.043 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.5494, allocations: 91.59 kB / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.5494, allocations: 8 kB / 1.043 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.5512, allocations: 0.9741 MB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.5513, allocations: 43.88 kB / 1.044 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.5514, allocations: 97.38 kB / 1.044 GB, free: 10.51 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.5518, allocations: 371 kB / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.5518, allocations: 0 / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5518, allocations: 0 / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.5518, allocations: 0 / 1.044 GB, free: 10.15 MB / 0.795 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.0005437/0.5524, allocations: 471.4 kB / 1.045 GB, free: 9.641 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.5524, allocations: 16.03 kB / 1.045 GB, free: 9.625 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.5525, allocations: 46.73 kB / 1.045 GB, free: 9.57 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.5526, allocations: 24.75 kB / 1.045 GB, free: 9.547 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.5528, allocations: 220 kB / 1.045 GB, free: 9.293 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5528, allocations: 16.64 kB / 1.045 GB, free: 9.277 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.5528, allocations: 16.38 kB / 1.045 GB, free: 9.262 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.5532, allocations: 240.1 kB / 1.045 GB, free: 9.008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5532, allocations: 4 kB / 1.045 GB, free: 9.004 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.5532, allocations: 8 kB / 1.045 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.5532, allocations: 8 kB / 1.045 GB, free: 8.988 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.5536, allocations: 435.3 kB / 1.046 GB, free: 8.562 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.5546, allocations: 0.9644 MB / 1.047 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.5548, allocations: 156.6 kB / 1.047 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.5549, allocations: 64.88 kB / 1.047 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.556, allocations: 1.833 MB / 1.049 GB, free: 5.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.556, allocations: 34.56 kB / 1.049 GB, free: 5.047 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.556, allocations: 0 / 1.049 GB, free: 5.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.000274/0.5563, allocations: 155.3 kB / 1.049 GB, free: 4.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.5564, allocations: 51.41 kB / 1.049 GB, free: 4.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.5565, allocations: 177.4 kB / 1.049 GB, free: 4.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5565, allocations: 25.7 kB / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.5566, allocations: 143.8 kB / 1.049 GB, free: 4.469 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.5566, allocations: 55.28 kB / 1.049 GB, free: 4.414 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.5567, allocations: 21.72 kB / 1.049 GB, free: 4.387 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.5567, allocations: 322.8 kB / 1.05 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.5568, allocations: 43.91 kB / 1.05 GB, free: 4.02 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.5569, allocations: 137.7 kB / 1.05 GB, free: 3.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.5571, allocations: 193.5 kB / 1.05 GB, free: 3.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5571, allocations: 3.938 kB / 1.05 GB, free: 3.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002807/0.5574, allocations: 222.8 kB / 1.05 GB, free: 3.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5574, allocations: 8 kB / 1.05 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5575, allocations: 4 kB / 1.05 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5575, allocations: 7.938 kB / 1.05 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5576, allocations: 51.91 kB / 1.05 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5576, allocations: 4.469 kB / 1.05 GB, free: 3.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.5578, allocations: 35.69 kB / 1.05 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5578, allocations: 12 kB / 1.05 GB, free: 3.25 MB / 0.795 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 8.613e-05/0.5579, allocations: 138.2 kB / 1.05 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.5579, allocations: 15.81 kB / 1.05 GB, free: 3.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.5582, allocations: 151 kB / 1.051 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.5582, allocations: 7.938 kB / 1.051 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5582, allocations: 0 / 1.051 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5582, allocations: 0 / 1.051 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.5584, allocations: 225.4 kB / 1.051 GB, free: 2.656 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5584, allocations: 0 / 1.051 GB, free: 2.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.5585, allocations: 31.92 kB / 1.051 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5585, allocations: 0 / 1.051 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.5585, allocations: 4 kB / 1.051 GB, free: 2.621 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5586, allocations: 3.938 kB / 1.051 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5586, allocations: 0 / 1.051 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.5588, allocations: 212.8 kB / 1.051 GB, free: 2.395 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.5588, allocations: 116.9 kB / 1.051 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.5589, allocations: 4 kB / 1.051 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.5591, allocations: 23.91 kB / 1.051 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.5591, allocations: 11.98 kB / 1.051 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.5591, allocations: 12 kB / 1.051 GB, free: 2.211 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.5592, allocations: 122.3 kB / 1.051 GB, free: 2.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5592, allocations: 0 / 1.051 GB, free: 2.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003441/0.5596, allocations: 83.94 kB / 1.051 GB, free: 2.012 MB / 0.795 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.000578/0.5601, allocations: 0.8303 MB / 1.052 GB, free: 1.156 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.5603, allocations: 120.8 kB / 1.052 GB, free: 1.039 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5604, allocations: 0 / 1.052 GB, free: 1.039 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.5604, allocations: 48.8 kB / 1.052 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.5608, allocations: 65.88 kB / 1.052 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.5626, allocations: 2.121 MB / 1.054 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.5629, allocations: 0.7131 MB / 1.055 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.563, allocations: 53.69 kB / 1.055 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.5631, allocations: 47.42 kB / 1.055 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.5631, allocations: 0 / 1.055 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.523/3.086, allocations: 5.16 MB / 1.06 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/3.086, allocations: 218.9 kB / 1.061 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/6.176, allocations: 0 / 1.061 GB, free: 8.566 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches