Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.00172/0.00172, allocations: 108 kB / 15.61 MB, free: 152 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.001973/0.001973, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.556/2.556, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 55.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5678, allocations: 151.6 MB / 1.017 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005771/0.5736, allocations: 4.435 MB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.5777, allocations: 2.687 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.5778, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.5782, allocations: 51.67 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.5786, allocations: 87.42 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.5804, allocations: 493.7 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.5808, allocations: 251.7 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.5809, allocations: 9.562 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.5824, allocations: 406.9 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.5827, allocations: 95.59 kB / 1.026 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.5827, allocations: 12 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.5844, allocations: 493.4 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.5845, allocations: 35.89 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.5847, allocations: 75.66 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009216/0.5856, allocations: 351 kB / 1.027 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5856, allocations: 0 / 1.027 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5856, allocations: 0 / 1.027 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.5856, allocations: 0 / 1.027 GB, free: 9.137 MB / 0.7794 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.001051/0.5867, allocations: 0.4992 MB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5868, allocations: 12.03 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.662e-05/0.5869, allocations: 54.73 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.5872, allocations: 20.75 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.5875, allocations: 212.1 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.5876, allocations: 16.7 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.5876, allocations: 16.38 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.5882, allocations: 252.9 kB / 1.028 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5882, allocations: 3.938 kB / 1.028 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.5883, allocations: 8 kB / 1.028 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.5883, allocations: 8 kB / 1.028 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.5891, allocations: 431.4 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.5906, allocations: 1.011 MB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.591, allocations: 156.6 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.5912, allocations: 64.88 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/0.5932, allocations: 1.817 MB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.5933, allocations: 42.5 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.5933, allocations: 0 / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004948/0.5938, allocations: 153.3 kB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.5939, allocations: 51.41 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5941, allocations: 161.2 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.5941, allocations: 33.7 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5943, allocations: 139.8 kB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.5943, allocations: 59.19 kB / 1.032 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5944, allocations: 49.61 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5946, allocations: 326.8 kB / 1.032 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.5947, allocations: 43.97 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.5949, allocations: 136.1 kB / 1.032 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.5953, allocations: 193.5 kB / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5953, allocations: 0 / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005262/0.5958, allocations: 222.4 kB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5959, allocations: 8 kB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5959, allocations: 4 kB / 1.033 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.5959, allocations: 8.406 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.5962, allocations: 55.92 kB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.5962, allocations: 7.984 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.5965, allocations: 27.69 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.5965, allocations: 19.94 kB / 1.033 GB, free: 2.125 MB / 0.7794 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.0001535/0.5967, allocations: 125.8 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.5968, allocations: 15.81 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.5972, allocations: 158.9 kB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.5973, allocations: 3.938 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5973, allocations: 8 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5973, allocations: 3.984 kB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.5977, allocations: 217.5 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5977, allocations: 0 / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.5978, allocations: 23.98 kB / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5978, allocations: 0 / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.5979, allocations: 7.938 kB / 1.033 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.5979, allocations: 7.938 kB / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.5979, allocations: 7.984 kB / 1.033 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.5982, allocations: 220.5 kB / 1.033 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5984, allocations: 101 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.5984, allocations: 0 / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.5987, allocations: 19.92 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.5988, allocations: 11.98 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.5988, allocations: 11.98 kB / 1.034 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001278/0.5989, allocations: 122.3 kB / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.599, allocations: 0 / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006144/0.5996, allocations: 75.94 kB / 1.034 GB, free: 0.9141 MB / 0.7794 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.001065/0.6007, allocations: 0.8347 MB / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.601, allocations: 122 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.601, allocations: 0 / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.6011, allocations: 51.75 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.6015, allocations: 60.38 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.6038, allocations: 2.016 MB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.6041, allocations: 0.7205 MB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.6043, allocations: 45.73 kB / 1.038 GB, free: 12.85 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.6044, allocations: 51.36 kB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.6044, allocations: 0 / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.6281, allocations: 5.129 MB / 1.043 GB, free: 7.785 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.253, allocations: 11.95 kB / 1.043 GB, free: 7.777 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_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_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches