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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001531/0.001531, allocations: 106.3 kB / 16.37 MB, free: 6.453 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.001695/0.001695, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 56.41 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2689, allocations: 151.7 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005805/0.2747, allocations: 4.425 MB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002566/0.2773, allocations: 2.691 MB / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.2774, allocations: 0 / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.2776, allocations: 55.67 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.2779, allocations: 91.36 kB / 1.026 GB, free: 2.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2789, allocations: 0.4901 MB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.2791, allocations: 239.8 kB / 1.027 GB, free: 1.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.2792, allocations: 13.56 kB / 1.027 GB, free: 1.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.28, allocations: 418.8 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2801, allocations: 87.67 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2802, allocations: 4 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008231/0.281, allocations: 499 kB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.2811, allocations: 43.89 kB / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.037e-05/0.2812, allocations: 67.67 kB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.2817, allocations: 359.1 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2817, allocations: 0 / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2817, allocations: 0 / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2817, allocations: 3.938 kB / 1.028 GB, free: 404 kB / 0.795 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.0006378/0.2823, allocations: 0.4953 MB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2824, allocations: 12.92 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.2825, allocations: 24.75 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2827, allocations: 216.1 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2828, allocations: 12.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2828, allocations: 12.38 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.2831, allocations: 245.1 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2831, allocations: 3.938 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2832, allocations: 12 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.2832, allocations: 8 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.2836, allocations: 427.5 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000946/0.2846, allocations: 1.004 MB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2849, allocations: 163 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.285, allocations: 64.81 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.2862, allocations: 1.825 MB / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2862, allocations: 34.56 kB / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.2862, allocations: 0 / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003093/0.2866, allocations: 152.4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.2866, allocations: 55.34 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2867, allocations: 172.2 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2868, allocations: 25.7 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.2868, allocations: 151.8 kB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.2869, allocations: 51.27 kB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.287, allocations: 53.61 kB / 1.033 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.2871, allocations: 318.8 kB / 1.033 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.2871, allocations: 39.97 kB / 1.033 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.2873, allocations: 142.7 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.2875, allocations: 201.4 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2875, allocations: 0 / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000315/0.2878, allocations: 211.2 kB / 1.034 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2878, allocations: 8 kB / 1.034 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2878, allocations: 4 kB / 1.034 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2879, allocations: 4 kB / 1.034 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.288, allocations: 59.8 kB / 1.034 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.2881, allocations: 19.91 kB / 1.034 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2882, allocations: 23.69 kB / 1.034 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2882, allocations: 12.38 kB / 1.034 GB, free: 9.449 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 9.471e-05/0.2883, allocations: 138.4 kB / 1.034 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2884, allocations: 15.81 kB / 1.034 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.2886, allocations: 158.9 kB / 1.034 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.2887, allocations: 7.938 kB / 1.034 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2887, allocations: 0 / 1.034 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2887, allocations: 3.938 kB / 1.034 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.2889, allocations: 209.5 kB / 1.035 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2889, allocations: 3.984 kB / 1.035 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.289, allocations: 28 kB / 1.035 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.289, allocations: 4 kB / 1.035 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.289, allocations: 3.984 kB / 1.035 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.289, allocations: 7.938 kB / 1.035 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2891, allocations: 0 / 1.035 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.2893, allocations: 221.6 kB / 1.035 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.2894, allocations: 104.9 kB / 1.035 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.2894, allocations: 7.984 kB / 1.035 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2896, allocations: 23.92 kB / 1.035 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.2896, allocations: 11.98 kB / 1.035 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2897, allocations: 7.984 kB / 1.035 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.075e-05/0.2898, allocations: 120 kB / 1.035 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2898, allocations: 0 / 1.035 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000369/0.2901, allocations: 83.91 kB / 1.035 GB, free: 8.219 MB / 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.0002582/0.2904, allocations: 179 kB / 1.035 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2906, allocations: 119.7 kB / 1.035 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2906, allocations: 4 kB / 1.035 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.546e-05/0.2907, allocations: 47.91 kB / 1.035 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.2911, allocations: 55.25 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.2918, allocations: 334.9 kB / 1.036 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.292, allocations: 0.7128 MB / 1.037 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.2921, allocations: 49.73 kB / 1.037 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.2922, allocations: 23.44 kB / 1.037 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.2922, allocations: 3.938 kB / 1.037 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of Templates: time 0.006369/0.2986, allocations: 3.34 MB / 1.04 GB, free: 3.348 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (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 & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/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