Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_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.001132/0.001132, 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.001194/0.001194, allocations: 196.8 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.53 kB / 0.9082 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2781, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005945/0.2841, allocations: 4.429 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.2869, allocations: 2.691 MB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.287, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.2873, allocations: 47.67 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.2876, allocations: 99.36 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2889, allocations: 487.8 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.2891, allocations: 235.9 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.2892, allocations: 9.562 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/0.29, allocations: 425.7 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2902, allocations: 87.66 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.2902, allocations: 8 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.2911, allocations: 487.4 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.2912, allocations: 35.89 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.2913, allocations: 79.59 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.2919, allocations: 355.1 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2919, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2919, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.2919, allocations: 0 / 1.073 GB, free: 5.051 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.0006435/0.2926, allocations: 0.4992 MB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2926, allocations: 12.03 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.2927, allocations: 50.72 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.2928, allocations: 20.75 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.293, allocations: 216.1 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2931, allocations: 12.7 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.2931, allocations: 16.38 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.2935, allocations: 252.8 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2935, allocations: 0 / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2935, allocations: 8 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.2935, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.294, allocations: 435.4 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.295, allocations: 1.008 MB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.2953, allocations: 159.1 kB / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.2954, allocations: 64.88 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.2968, allocations: 1.833 MB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2968, allocations: 38.56 kB / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.2968, allocations: 0 / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003269/0.2972, allocations: 143 kB / 1.077 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.2972, allocations: 59.39 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2974, allocations: 171.2 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2974, allocations: 29.7 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.2975, allocations: 151.7 kB / 1.078 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2975, allocations: 47.36 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.2976, allocations: 57.55 kB / 1.078 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2978, allocations: 322.8 kB / 1.078 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.2978, allocations: 35.97 kB / 1.078 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.298, allocations: 143.4 kB / 1.078 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.2982, allocations: 198.8 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.2982, allocations: 0 / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003362/0.2986, allocations: 218.7 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2986, allocations: 5.562 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2986, allocations: 7.938 kB / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2986, allocations: 11.94 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2988, allocations: 47.92 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2988, allocations: 11.92 kB / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.299, allocations: 27.69 kB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.299, allocations: 16 kB / 1.079 GB, free: 14.04 MB / 0.8419 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.89e-05/0.2991, allocations: 134.5 kB / 1.079 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.2991, allocations: 11.91 kB / 1.079 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.2994, allocations: 162.9 kB / 1.079 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2995, allocations: 3.938 kB / 1.079 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2995, allocations: 3.984 kB / 1.079 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2995, allocations: 0 / 1.079 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2997, allocations: 205.6 kB / 1.079 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2997, allocations: 0 / 1.079 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.2998, allocations: 35.86 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2998, allocations: 4 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2998, allocations: 7.984 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2999, allocations: 3.938 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2999, allocations: 0 / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3001, allocations: 224.2 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.3002, allocations: 108.8 kB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3002, allocations: 4 kB / 1.08 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3004, allocations: 19.92 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.3005, allocations: 11.98 kB / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.3005, allocations: 8 kB / 1.08 GB, free: 13 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.901e-05/0.3006, allocations: 124.9 kB / 1.08 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3006, allocations: 3.938 kB / 1.08 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003876/0.301, allocations: 72 kB / 1.08 GB, free: 12.81 MB / 0.8419 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.0007385/0.3017, allocations: 0.8311 MB / 1.081 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.302, allocations: 129.8 kB / 1.081 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.302, allocations: 3.938 kB / 1.081 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.3021, allocations: 44.03 kB / 1.081 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.3025, allocations: 59.81 kB / 1.081 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3046, allocations: 2.026 MB / 1.083 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3049, allocations: 0.7089 MB / 1.084 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000171/0.305, allocations: 45.75 kB / 1.084 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.3051, allocations: 47.42 kB / 1.084 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3051, allocations: 0 / 1.084 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.3267, allocations: 5.145 MB / 1.089 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.951, allocations: 4 kB / 1.089 GB, free: 3.672 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches