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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00109/0.00109, allocations: 98.03 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.008982/0.008982, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 462.7 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 7.75 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2786, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005229/0.2839, allocations: 4.103 MB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.2868, allocations: 2.675 MB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.2869, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2871, allocations: 39.8 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.2874, allocations: 87.5 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2886, allocations: 456.1 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.2889, allocations: 311.8 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.2889, allocations: 13.56 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008834/0.2898, allocations: 392.1 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.29, allocations: 99.53 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.29, allocations: 8 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.2911, allocations: 0.4912 MB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.2912, allocations: 35.89 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.304e-05/0.2913, allocations: 105.3 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.292, allocations: 351.4 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.292, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.32e-07/0.292, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.292, allocations: 0 / 1.068 GB, free: 11.79 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.00065/0.2926, allocations: 483.1 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2927, allocations: 11.97 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.2928, allocations: 54.73 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.2929, allocations: 20.75 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.2931, allocations: 208.2 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2931, allocations: 12.7 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.2932, allocations: 16.38 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.2935, allocations: 256.8 kB / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2936, allocations: 0 / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.2936, allocations: 8 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.2936, allocations: 8 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.2941, allocations: 431.5 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.2952, allocations: 1.008 MB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.2955, allocations: 167 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.2956, allocations: 66.41 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.297, allocations: 1.817 MB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.297, allocations: 38.56 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2971, allocations: 4 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003047/0.2974, allocations: 145.4 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2974, allocations: 55.41 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2976, allocations: 171.9 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.2976, allocations: 33.7 kB / 1.073 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.2977, allocations: 135.8 kB / 1.073 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.2977, allocations: 51.27 kB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.2978, allocations: 33.69 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2979, allocations: 326.8 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.298, allocations: 31.98 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.2981, allocations: 141.7 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.2983, allocations: 205.4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2983, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003186/0.2987, allocations: 207.9 kB / 1.074 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2987, allocations: 11.98 kB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2987, allocations: 4.469 kB / 1.074 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2987, allocations: 15.88 kB / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2989, allocations: 55.92 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2989, allocations: 11.88 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.299, allocations: 27.69 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2991, allocations: 15.98 kB / 1.074 GB, free: 4.816 MB / 0.8262 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.0001059/0.2992, allocations: 133.7 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.2992, allocations: 15.81 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.2995, allocations: 158.9 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2995, allocations: 3.938 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2995, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2995, allocations: 3.984 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2998, allocations: 209.6 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2998, allocations: 4 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.2999, allocations: 19.98 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2999, allocations: 4 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2999, allocations: 4 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2999, allocations: 3.938 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2999, allocations: 4 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.3001, allocations: 226 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.3002, allocations: 112.8 kB / 1.075 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3002, allocations: 0 / 1.075 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3004, allocations: 27.86 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.3005, allocations: 11.98 kB / 1.075 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3005, allocations: 12 kB / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.3006, allocations: 119.9 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3006, allocations: 0 / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003691/0.301, allocations: 72 kB / 1.075 GB, free: 3.598 MB / 0.8262 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.0006486/0.3016, allocations: 0.8293 MB / 1.076 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3018, allocations: 119.7 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.3018, allocations: 4 kB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/0.3019, allocations: 44.86 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3023, allocations: 62.19 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3043, allocations: 2.097 MB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3046, allocations: 0.7131 MB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000168/0.3048, allocations: 49.69 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.3048, allocations: 47.42 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3049, allocations: 0 / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1987/0.5035, allocations: 4.852 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/0.5039, allocations: 210.3 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.254, allocations: 0 / 1.084 GB, free: 10.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/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