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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001138/0.001138, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.62 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2833, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005636/0.2889, allocations: 4.441 MB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.2917, allocations: 2.687 MB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.2918, allocations: 0 / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.2921, allocations: 47.67 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.2924, allocations: 99.36 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.2935, allocations: 497.4 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.2938, allocations: 235.9 kB / 1.035 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.2938, allocations: 13.56 kB / 1.035 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009141/0.2947, allocations: 410.8 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.2949, allocations: 95.59 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2949, allocations: 4 kB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009249/0.2958, allocations: 491.1 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.2959, allocations: 39.89 kB / 1.036 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.296, allocations: 83.64 kB / 1.036 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.2966, allocations: 351 kB / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2966, allocations: 0 / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2966, allocations: 0 / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2966, allocations: 0 / 1.036 GB, free: 8.562 MB / 0.8106 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.0006885/0.2973, allocations: 0.4992 MB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2973, allocations: 12.03 kB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2975, allocations: 24.73 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2977, allocations: 216.1 kB / 1.037 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2978, allocations: 12.7 kB / 1.037 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.2978, allocations: 12.38 kB / 1.037 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.2981, allocations: 245.1 kB / 1.037 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2982, allocations: 3.984 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.2982, allocations: 11.98 kB / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.2982, allocations: 8 kB / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.2987, allocations: 435.4 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/0.2997, allocations: 1.008 MB / 1.038 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.3, allocations: 159.9 kB / 1.038 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.3001, allocations: 56.89 kB / 1.039 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.3014, allocations: 1.825 MB / 1.04 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3014, allocations: 34.5 kB / 1.04 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.3014, allocations: 0 / 1.04 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003169/0.3018, allocations: 152.1 kB / 1.04 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3018, allocations: 55.34 kB / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.302, allocations: 176.7 kB / 1.041 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.302, allocations: 29.69 kB / 1.041 GB, free: 3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.3021, allocations: 143.8 kB / 1.041 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.3021, allocations: 51.27 kB / 1.041 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.3022, allocations: 53.59 kB / 1.041 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3023, allocations: 322.8 kB / 1.041 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.3024, allocations: 35.98 kB / 1.041 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3026, allocations: 146.7 kB / 1.041 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.3028, allocations: 201.4 kB / 1.042 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3028, allocations: 0 / 1.042 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003205/0.3031, allocations: 216.8 kB / 1.042 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3032, allocations: 8 kB / 1.042 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3032, allocations: 4 kB / 1.042 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3032, allocations: 4 kB / 1.042 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3034, allocations: 55.84 kB / 1.042 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.3034, allocations: 4 kB / 1.042 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3035, allocations: 31.69 kB / 1.042 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3035, allocations: 12 kB / 1.042 GB, free: 1.617 MB / 0.8106 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.0001054/0.3036, allocations: 141.9 kB / 1.042 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.3037, allocations: 23.81 kB / 1.042 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.304, allocations: 158.9 kB / 1.042 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.304, allocations: 7.938 kB / 1.042 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.304, allocations: 0 / 1.042 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.304, allocations: 0 / 1.042 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.3043, allocations: 213.5 kB / 1.042 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3043, allocations: 0 / 1.042 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.3044, allocations: 27.98 kB / 1.043 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3044, allocations: 0 / 1.043 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3044, allocations: 4 kB / 1.043 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3044, allocations: 7.938 kB / 1.043 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3044, allocations: 3.938 kB / 1.043 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3047, allocations: 215.3 kB / 1.043 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.3048, allocations: 116.8 kB / 1.043 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3048, allocations: 4 kB / 1.043 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.305, allocations: 15.92 kB / 1.043 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.3051, allocations: 19.98 kB / 1.043 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3051, allocations: 4 kB / 1.043 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.545e-05/0.3052, allocations: 120 kB / 1.043 GB, free: 472 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3052, allocations: 0 / 1.043 GB, free: 472 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003726/0.3056, allocations: 71.98 kB / 1.043 GB, free: 400 kB / 0.8106 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.0002815/0.3058, allocations: 183.1 kB / 1.043 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3061, allocations: 119.1 kB / 1.043 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3061, allocations: 0 / 1.043 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.3062, allocations: 43.92 kB / 1.043 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3066, allocations: 66.61 kB / 1.043 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.3072, allocations: 346.7 kB / 1.044 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.3075, allocations: 0.7168 MB / 1.045 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.3076, allocations: 45.75 kB / 1.045 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.3077, allocations: 23.44 kB / 1.045 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3077, allocations: 0 / 1.045 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.006645/0.3143, allocations: 3.331 MB / 1.048 GB, free: 11.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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