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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5051, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01478/0.5199, allocations: 12.97 MB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.5226, allocations: 2.671 MB / 1.033 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.5227, allocations: 0 / 1.033 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.523, allocations: 51.61 kB / 1.033 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.5232, allocations: 95.34 kB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.5244, allocations: 0.4975 MB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.5247, allocations: 232 kB / 1.034 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.5247, allocations: 9.562 kB / 1.034 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007625/0.5324, allocations: 3.588 MB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.5325, allocations: 87.66 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.5325, allocations: 8 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.5347, allocations: 1.075 MB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.5348, allocations: 31.89 kB / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.5349, allocations: 87.64 kB / 1.038 GB, free: 13.01 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.5355, allocations: 363 kB / 1.039 GB, free: 12.66 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5356, allocations: 4 kB / 1.039 GB, free: 12.65 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5356, allocations: 0 / 1.039 GB, free: 12.65 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5356, allocations: 4 kB / 1.039 GB, free: 12.65 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.0006722/0.5363, allocations: 0.4953 MB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5363, allocations: 12.03 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.5364, allocations: 50.67 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.5365, allocations: 28.83 kB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.5367, allocations: 216 kB / 1.039 GB, free: 11.76 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5368, allocations: 12.69 kB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.5368, allocations: 16.38 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.5371, allocations: 244.1 kB / 1.04 GB, free: 11.47 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5372, allocations: 7.938 kB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.5372, allocations: 4 kB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.5372, allocations: 11.98 kB / 1.04 GB, free: 11.45 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.5377, allocations: 431.3 kB / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.5387, allocations: 0.9645 MB / 1.041 GB, free: 9.973 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.539, allocations: 160.9 kB / 1.041 GB, free: 9.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.5391, allocations: 64.88 kB / 1.041 GB, free: 9.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.5403, allocations: 1.836 MB / 1.043 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5404, allocations: 38.56 kB / 1.043 GB, free: 7.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.5404, allocations: 4 kB / 1.043 GB, free: 7.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003185/0.5407, allocations: 139.3 kB / 1.043 GB, free: 7.355 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.5407, allocations: 55.41 kB / 1.043 GB, free: 7.289 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5409, allocations: 168.8 kB / 1.043 GB, free: 7.113 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.5409, allocations: 29.7 kB / 1.043 GB, free: 7.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.209e-05/0.541, allocations: 147.7 kB / 1.044 GB, free: 6.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.541, allocations: 55.19 kB / 1.044 GB, free: 6.875 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.5411, allocations: 49.7 kB / 1.044 GB, free: 6.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.5412, allocations: 326.8 kB / 1.044 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-05/0.5412, allocations: 39.97 kB / 1.044 GB, free: 6.453 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.5414, allocations: 134.2 kB / 1.044 GB, free: 6.273 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.5416, allocations: 203.2 kB / 1.044 GB, free: 6.027 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5416, allocations: 0 / 1.044 GB, free: 6.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003154/0.5419, allocations: 213.1 kB / 1.045 GB, free: 5.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5419, allocations: 8.469 kB / 1.045 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.542, allocations: 0 / 1.045 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.542, allocations: 15.94 kB / 1.045 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5422, allocations: 51.92 kB / 1.045 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5422, allocations: 11.92 kB / 1.045 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.5423, allocations: 23.75 kB / 1.045 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.5423, allocations: 15.94 kB / 1.045 GB, free: 5.688 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 9.443e-05/0.5424, allocations: 136.3 kB / 1.045 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.5425, allocations: 19.81 kB / 1.045 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.5428, allocations: 160 kB / 1.045 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5428, allocations: 3.938 kB / 1.045 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5428, allocations: 4 kB / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5428, allocations: 0 / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.543, allocations: 221.4 kB / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.543, allocations: 0 / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.5431, allocations: 23.94 kB / 1.045 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5432, allocations: 0 / 1.045 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5432, allocations: 7.984 kB / 1.045 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5432, allocations: 7.938 kB / 1.045 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5432, allocations: 0 / 1.045 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.5434, allocations: 208.7 kB / 1.045 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.5435, allocations: 116.8 kB / 1.046 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.5435, allocations: 4 kB / 1.046 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.5437, allocations: 15.92 kB / 1.046 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.5438, allocations: 15.97 kB / 1.046 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.5438, allocations: 15.94 kB / 1.046 GB, free: 4.648 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.926e-05/0.5439, allocations: 125.6 kB / 1.046 GB, free: 4.527 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5439, allocations: 4 kB / 1.046 GB, free: 4.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003835/0.5443, allocations: 75.98 kB / 1.046 GB, free: 4.449 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.0006673/0.545, allocations: 0.834 MB / 1.047 GB, free: 3.59 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.5452, allocations: 129.4 kB / 1.047 GB, free: 3.465 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5452, allocations: 0.9375 kB / 1.047 GB, free: 3.465 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.5453, allocations: 43.92 kB / 1.047 GB, free: 3.422 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.5457, allocations: 63.77 kB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.5477, allocations: 2.041 MB / 1.049 GB, free: 1.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.5479, allocations: 0.705 MB / 1.05 GB, free: 432 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.5481, allocations: 53.73 kB / 1.05 GB, free: 380 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.5482, allocations: 43.42 kB / 1.05 GB, free: 336 kB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.5482, allocations: 0 / 1.05 GB, free: 336 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.5687, allocations: 5.431 MB / 1.055 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.652, allocations: 5.625 kB / 1.055 GB, free: 11.02 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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