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.00101/0.00101, allocations: 99.34 kB / 16.02 MB, free: 76 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.0009523/0.0009523, allocations: 183.9 kB / 16.92 MB, free: 6.703 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.682/2.682, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 17 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2977, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005087/0.3028, allocations: 4.099 MB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.3057, allocations: 2.668 MB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3058, allocations: 7.938 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.3061, allocations: 31.8 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3063, allocations: 87.48 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3076, allocations: 463.9 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.3079, allocations: 315.8 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.308, allocations: 13.56 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009411/0.3089, allocations: 394.8 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.3091, allocations: 95.59 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.3091, allocations: 4 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009914/0.3101, allocations: 495 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.3102, allocations: 39.89 kB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3103, allocations: 105.3 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3108, allocations: 239.7 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3108, allocations: 0 / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3108, allocations: 4 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3108, allocations: 0 / 1.068 GB, free: 11.94 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.0007282/0.3116, allocations: 479.2 kB / 1.069 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3116, allocations: 11.97 kB / 1.069 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3118, allocations: 20.75 kB / 1.069 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.312, allocations: 208.2 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.312, allocations: 20.69 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3121, allocations: 12.38 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.3125, allocations: 249.1 kB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3125, allocations: 3.938 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.3125, allocations: 12 kB / 1.069 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.3126, allocations: 8 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.313, allocations: 423.5 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3142, allocations: 1.012 MB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.3145, allocations: 159 kB / 1.071 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3147, allocations: 64.88 kB / 1.071 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.3164, allocations: 1.821 MB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.3164, allocations: 42.55 kB / 1.073 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3164, allocations: 0 / 1.073 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003573/0.3168, allocations: 139.7 kB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.3169, allocations: 63.34 kB / 1.073 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.317, allocations: 171.9 kB / 1.073 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.3171, allocations: 33.7 kB / 1.073 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3172, allocations: 135.8 kB / 1.073 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.3173, allocations: 55.19 kB / 1.073 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.3173, allocations: 29.72 kB / 1.073 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3175, allocations: 330.8 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.3176, allocations: 35.92 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3178, allocations: 137.7 kB / 1.074 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.318, allocations: 208.4 kB / 1.074 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.318, allocations: 0 / 1.074 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003577/0.3184, allocations: 205.6 kB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3184, allocations: 9.781 kB / 1.074 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3184, allocations: 4 kB / 1.074 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3185, allocations: 7.938 kB / 1.074 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.3187, allocations: 63.84 kB / 1.074 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.3187, allocations: 7.938 kB / 1.074 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.3188, allocations: 27.69 kB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.3189, allocations: 12 kB / 1.074 GB, free: 5.043 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.0001446/0.319, allocations: 139.7 kB / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.3191, allocations: 19.81 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.3194, allocations: 155 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3194, allocations: 3.938 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3194, allocations: 0 / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3194, allocations: 0 / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3197, allocations: 225.4 kB / 1.075 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3197, allocations: 0 / 1.075 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.472e-05/0.3198, allocations: 19.98 kB / 1.075 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3198, allocations: 4 kB / 1.075 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3198, allocations: 7.938 kB / 1.075 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3198, allocations: 7.938 kB / 1.075 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3198, allocations: 3.984 kB / 1.075 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3201, allocations: 222 kB / 1.075 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.605e-05/0.3202, allocations: 108.9 kB / 1.075 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3202, allocations: 0 / 1.075 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3204, allocations: 35.83 kB / 1.075 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.3205, allocations: 15.92 kB / 1.075 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3205, allocations: 8 kB / 1.075 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.3206, allocations: 120 kB / 1.075 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3206, allocations: 0 / 1.075 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003876/0.321, allocations: 71.98 kB / 1.075 GB, free: 3.805 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.0003691/0.3214, allocations: 183.1 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3216, allocations: 115.7 kB / 1.076 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3216, allocations: 0 / 1.076 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.3217, allocations: 43.92 kB / 1.076 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.3222, allocations: 56.88 kB / 1.076 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.3229, allocations: 455.2 kB / 1.076 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3232, allocations: 0.717 MB / 1.077 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.3232, allocations: 27.44 kB / 1.077 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3233, allocations: 0 / 1.077 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of Templates: time 0.00606/0.3293, allocations: 3.108 MB / 1.08 GB, free: 15.06 MB / 0.8419 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 -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