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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007882/0.0007883, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000945/0.0009453, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.555/2.555, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004146, allocations: 8.219 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7625/0.763, allocations: 142.4 MB / 0.9544 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004652/0.7677, allocations: 3.933 MB / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.7699, allocations: 2.474 MB / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.77, allocations: 1.312 kB / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.7703, allocations: 33.25 kB / 0.9607 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.7705, allocations: 98.22 kB / 0.9608 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.7715, allocations: 382 kB / 0.9612 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.7718, allocations: 271.4 kB / 0.9614 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/0.7719, allocations: 12.44 kB / 0.9614 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.7728, allocations: 404.3 kB / 0.9618 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.773, allocations: 85.84 kB / 0.9619 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.773, allocations: 6.062 kB / 0.9619 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.774, allocations: 408.3 kB / 0.9623 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.7741, allocations: 33.11 kB / 0.9623 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.7742, allocations: 53.02 kB / 0.9624 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.7746, allocations: 211 kB / 0.9626 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7746, allocations: 3.938 kB / 0.9626 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7746, allocations: 1.281 kB / 0.9626 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7746, allocations: 0 / 0.9626 GB, free: 1.637 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.0006627/0.7753, allocations: 473.9 kB / 0.9631 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7753, allocations: 8.5 kB / 0.9631 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.7755, allocations: 28.47 kB / 0.9631 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.7757, allocations: 211 kB / 0.9633 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.7757, allocations: 10.64 kB / 0.9633 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.7757, allocations: 15.06 kB / 0.9633 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.7761, allocations: 250.7 kB / 0.9636 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.7762, allocations: 0 / 0.9636 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.7762, allocations: 15.14 kB / 0.9636 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.7762, allocations: 5.594 kB / 0.9636 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.7768, allocations: 432.9 kB / 0.964 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.7779, allocations: 1.001 MB / 0.965 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.7782, allocations: 167.8 kB / 0.9651 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.7783, allocations: 57.45 kB / 0.9652 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/0.7798, allocations: 1.823 MB / 0.967 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7798, allocations: 40.97 kB / 0.967 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.7798, allocations: 4 kB / 0.967 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003709/0.7802, allocations: 138.2 kB / 0.9671 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.7803, allocations: 52.75 kB / 0.9672 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.7804, allocations: 177.2 kB / 0.9673 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.7805, allocations: 25.7 kB / 0.9674 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.7806, allocations: 145.2 kB / 0.9675 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.7806, allocations: 54.94 kB / 0.9676 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.7806, allocations: 4 kB / 0.9676 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7808, allocations: 324.2 kB / 0.9679 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.7809, allocations: 32.98 kB / 0.9679 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.781, allocations: 140.6 kB / 0.968 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.7812, allocations: 61.95 kB / 0.9681 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.7812, allocations: 1.375 kB / 0.9681 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000341/0.7815, allocations: 207.5 kB / 0.9683 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7815, allocations: 11.12 kB / 0.9683 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7816, allocations: 7.141 kB / 0.9683 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.7816, allocations: 14.03 kB / 0.9683 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.7818, allocations: 52.48 kB / 0.9684 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.7818, allocations: 9.5 kB / 0.9684 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.7819, allocations: 24.97 kB / 0.9684 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.782, allocations: 19.11 kB / 0.9684 GB, free: 12.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.7821, allocations: 133.7 kB / 0.9686 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.7821, allocations: 16.91 kB / 0.9686 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.7825, allocations: 159.8 kB / 0.9687 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7825, allocations: 1.406 kB / 0.9687 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7825, allocations: 1.344 kB / 0.9687 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.7825, allocations: 3.984 kB / 0.9687 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.7828, allocations: 209.1 kB / 0.9689 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7828, allocations: 5.078 kB / 0.9689 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.7829, allocations: 26.64 kB / 0.969 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7829, allocations: 1.125 kB / 0.969 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.7829, allocations: 5.781 kB / 0.969 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.7829, allocations: 4.781 kB / 0.969 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7829, allocations: 0 / 0.969 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.7832, allocations: 233.3 kB / 0.9692 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.7833, allocations: 114 kB / 0.9693 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.7833, allocations: 1.094 kB / 0.9693 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.7835, allocations: 24.39 kB / 0.9693 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.7836, allocations: 9.422 kB / 0.9693 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.7836, allocations: 10.16 kB / 0.9694 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001022/0.7837, allocations: 126.7 kB / 0.9695 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7837, allocations: 3.938 kB / 0.9695 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004467/0.7842, allocations: 74.22 kB / 0.9695 GB, free: 11.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003227/0.7845, allocations: 172 kB / 0.9697 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.7848, allocations: 118.8 kB / 0.9698 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7848, allocations: 0.9688 kB / 0.9698 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.7849, allocations: 42.52 kB / 0.9699 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.7854, allocations: 64.86 kB / 0.9699 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/0.7862, allocations: 414.9 kB / 0.9703 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.7865, allocations: 0.7202 MB / 0.971 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.7867, allocations: 40.8 kB / 0.9711 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.7867, allocations: 28.56 kB / 0.9711 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.7868, allocations: 4 kB / 0.9711 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.008589/0.7953, allocations: 3.106 MB / 0.9741 GB, free: 8.297 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