Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 128 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.001741/0.001741, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5656, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01214/0.5777, allocations: 12.97 MB / 0.9624 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.5803, allocations: 2.673 MB / 0.965 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.5804, allocations: 1.094 kB / 0.965 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.5807, allocations: 47.33 kB / 0.965 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.5809, allocations: 90.7 kB / 0.9651 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009493/0.5818, allocations: 0.5056 MB / 0.9656 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.5821, allocations: 236.7 kB / 0.9658 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.5821, allocations: 9.375 kB / 0.9659 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00743/0.5895, allocations: 3.573 MB / 0.9693 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.5897, allocations: 92.98 kB / 0.9694 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.5897, allocations: 7.375 kB / 0.9694 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.5919, allocations: 1.081 MB / 0.9705 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.592, allocations: 33.59 kB / 0.9705 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.5921, allocations: 84.73 kB / 0.9706 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.5926, allocations: 357.9 kB / 0.9709 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5926, allocations: 9.188 kB / 0.971 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5927, allocations: 0 / 0.971 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5927, allocations: 0 / 0.971 GB, free: 8.766 MB / 0.7325 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.0006549/0.5933, allocations: 0.4979 MB / 0.9714 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5934, allocations: 9.469 kB / 0.9715 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.5934, allocations: 49.58 kB / 0.9715 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.5936, allocations: 26.2 kB / 0.9715 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.5938, allocations: 216.2 kB / 0.9717 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5938, allocations: 11.61 kB / 0.9717 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.5938, allocations: 19.19 kB / 0.9718 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.5942, allocations: 249.2 kB / 0.972 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5942, allocations: 3.938 kB / 0.972 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.5942, allocations: 10.81 kB / 0.972 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.5943, allocations: 6.656 kB / 0.972 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.5948, allocations: 432.2 kB / 0.9724 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.5958, allocations: 0.9577 MB / 0.9734 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.5961, allocations: 162.6 kB / 0.9735 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5962, allocations: 71.95 kB / 0.9736 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.5974, allocations: 1.832 MB / 0.9754 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5975, allocations: 36.59 kB / 0.9754 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.5975, allocations: 0 / 0.9754 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000322/0.5978, allocations: 150.3 kB / 0.9756 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.5978, allocations: 57.56 kB / 0.9756 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.598, allocations: 169.3 kB / 0.9758 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.598, allocations: 31.73 kB / 0.9758 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.5981, allocations: 147.2 kB / 0.9759 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.5981, allocations: 46.33 kB / 0.976 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.5982, allocations: 57.17 kB / 0.976 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.5983, allocations: 322.4 kB / 0.9763 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.5984, allocations: 37.75 kB / 0.9764 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.5985, allocations: 145.3 kB / 0.9765 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.5987, allocations: 193.7 kB / 0.9767 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5987, allocations: 1.219 kB / 0.9767 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003269/0.5991, allocations: 223.9 kB / 0.9769 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5991, allocations: 6.438 kB / 0.9769 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5991, allocations: 3.562 kB / 0.9769 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.5991, allocations: 9.688 kB / 0.9769 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.5993, allocations: 52.27 kB / 0.977 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5993, allocations: 9.047 kB / 0.977 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.5995, allocations: 29 kB / 0.977 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.5995, allocations: 14.94 kB / 0.977 GB, free: 3.004 MB / 0.7325 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.922e-05/0.5996, allocations: 129.8 kB / 0.9772 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.5997, allocations: 16.91 kB / 0.9772 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.6, allocations: 161 kB / 0.9773 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6, allocations: 6.281 kB / 0.9773 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6, allocations: 4 kB / 0.9773 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6, allocations: 0 / 0.9773 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.6002, allocations: 218 kB / 0.9776 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6003, allocations: 0 / 0.9776 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.6004, allocations: 23.56 kB / 0.9776 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6004, allocations: 5.031 kB / 0.9776 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.6004, allocations: 5.203 kB / 0.9776 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.6004, allocations: 5.812 kB / 0.9776 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6004, allocations: 3.938 kB / 0.9776 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.6007, allocations: 219 kB / 0.9778 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.6008, allocations: 114.1 kB / 0.9779 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.6008, allocations: 9.047 kB / 0.9779 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.601, allocations: 19.83 kB / 0.9779 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.601, allocations: 9.609 kB / 0.9779 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.6011, allocations: 10.09 kB / 0.978 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.92e-05/0.6012, allocations: 115.3 kB / 0.9781 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6012, allocations: 0 / 0.9781 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004007/0.6016, allocations: 82.11 kB / 0.9781 GB, free: 2.07 MB / 0.7325 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.0007089/0.6023, allocations: 0.8298 MB / 0.979 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.6025, allocations: 129.3 kB / 0.9791 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.6025, allocations: 3.938 kB / 0.9791 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.6026, allocations: 46.42 kB / 0.9791 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.6031, allocations: 55.12 kB / 0.9792 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.6052, allocations: 2.037 MB / 0.9812 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.6054, allocations: 0.7112 MB / 0.9819 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001908/0.6056, allocations: 51.3 kB / 0.9819 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.6057, allocations: 45.17 kB / 0.982 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.6057, allocations: 0 / 0.982 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.6277, allocations: 5.444 MB / 0.9873 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.868, allocations: 352 / 0.9873 GB, free: 10.39 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches