Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001052/0.001052, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007793/0.007794, allocations: 175.3 kB / 16.27 MB, free: 6.613 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.9 MB / 0.6663 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006516, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7397, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005084/0.7448, allocations: 4.096 MB / 0.959 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.7475, allocations: 2.677 MB / 0.9616 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.7476, allocations: 0.8438 kB / 0.9616 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.748, allocations: 42.72 kB / 0.9617 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.7483, allocations: 82.94 kB / 0.9618 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.7497, allocations: 453 kB / 0.9622 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.7501, allocations: 310.9 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.7502, allocations: 9.344 kB / 0.9625 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.7513, allocations: 397.6 kB / 0.9629 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.7515, allocations: 91.06 kB / 0.963 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.7515, allocations: 6.156 kB / 0.963 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.7527, allocations: 0.5 MB / 0.9635 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.7528, allocations: 37.45 kB / 0.9635 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.7529, allocations: 100.8 kB / 0.9636 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.7538, allocations: 350.2 kB / 0.9639 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7539, allocations: 3.938 kB / 0.9639 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7539, allocations: 1 kB / 0.9639 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.7539, allocations: 0 / 0.9639 GB, free: 0.8203 MB / 0.7169 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.0007822/0.7547, allocations: 468.2 kB / 0.9644 GB, free: 376 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.7547, allocations: 9.469 kB / 0.9644 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.755, allocations: 29.39 kB / 0.9644 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.7552, allocations: 208.4 kB / 0.9646 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.7552, allocations: 11.98 kB / 0.9646 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.7553, allocations: 17.95 kB / 0.9646 GB, free: 112 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.7557, allocations: 252.2 kB / 0.9649 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.7558, allocations: 5.344 kB / 0.9649 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.7558, allocations: 10.41 kB / 0.9649 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.7558, allocations: 13.88 kB / 0.9649 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.7564, allocations: 429.6 kB / 0.9653 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.7577, allocations: 1.001 MB / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.7579, allocations: 162.5 kB / 0.9664 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.7581, allocations: 62.78 kB / 0.9665 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.7596, allocations: 1.828 MB / 0.9683 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.7596, allocations: 35.91 kB / 0.9683 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.7596, allocations: 5 kB / 0.9683 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003637/0.76, allocations: 145.5 kB / 0.9685 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.7601, allocations: 57.19 kB / 0.9685 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.7602, allocations: 171.3 kB / 0.9687 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.7603, allocations: 35.81 kB / 0.9687 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.7604, allocations: 143.6 kB / 0.9689 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.7604, allocations: 49.98 kB / 0.9689 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.7605, allocations: 29.33 kB / 0.9689 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7606, allocations: 321.7 kB / 0.9692 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.7607, allocations: 37.81 kB / 0.9693 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.7608, allocations: 141.2 kB / 0.9694 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.7611, allocations: 191.5 kB / 0.9696 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7611, allocations: 0.8125 kB / 0.9696 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003575/0.7615, allocations: 224.7 kB / 0.9698 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.7615, allocations: 8.375 kB / 0.9698 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7615, allocations: 3.094 kB / 0.9698 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.7615, allocations: 5.719 kB / 0.9698 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.7617, allocations: 52.55 kB / 0.9699 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.7617, allocations: 9.891 kB / 0.9699 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.7619, allocations: 33 kB / 0.9699 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.7619, allocations: 14.09 kB / 0.9699 GB, free: 11.1 MB / 0.7325 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.000117/0.762, allocations: 128.6 kB / 0.9701 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.7621, allocations: 16.97 kB / 0.9701 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.7624, allocations: 164.4 kB / 0.9702 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.7624, allocations: 5.938 kB / 0.9702 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7625, allocations: 0 / 0.9702 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7625, allocations: 4.938 kB / 0.9702 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.7627, allocations: 217.2 kB / 0.9704 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7628, allocations: 1.188 kB / 0.9704 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.7629, allocations: 27.05 kB / 0.9705 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7629, allocations: 1.062 kB / 0.9705 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.7629, allocations: 5.016 kB / 0.9705 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.7629, allocations: 5.062 kB / 0.9705 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.7629, allocations: 3.984 kB / 0.9705 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.7632, allocations: 223.2 kB / 0.9707 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.7633, allocations: 113.2 kB / 0.9708 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.7633, allocations: 4.969 kB / 0.9708 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.7636, allocations: 20.39 kB / 0.9708 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.7636, allocations: 13.42 kB / 0.9708 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.7636, allocations: 13.97 kB / 0.9709 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001016/0.7637, allocations: 123.9 kB / 0.971 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7637, allocations: 0 / 0.971 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004363/0.7642, allocations: 77.56 kB / 0.9711 GB, free: 10.15 MB / 0.7325 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.0003814/0.7646, allocations: 176.7 kB / 0.9712 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.7648, allocations: 120.3 kB / 0.9713 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7649, allocations: 4.312 kB / 0.9713 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.7649, allocations: 44.23 kB / 0.9714 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.7654, allocations: 50.64 kB / 0.9714 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.7663, allocations: 442.4 kB / 0.9718 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.7667, allocations: 0.7126 MB / 0.9725 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.7669, allocations: 48.33 kB / 0.9726 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.767, allocations: 25.94 kB / 0.9726 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.767, allocations: 0 / 0.9726 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of Templates: time 0.007928/0.7749, allocations: 3.22 MB / 0.9758 GB, free: 7.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches