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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001414/0.001415, allocations: 108 kB / 15.6 MB, free: 132 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.001544/0.001545, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.89 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7037, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006912/0.7107, allocations: 4.429 MB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.7135, allocations: 2.683 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.7136, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.7139, allocations: 55.66 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.7142, allocations: 91.38 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.7154, allocations: 489.7 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.7156, allocations: 247.7 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.7157, allocations: 9.562 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009151/0.7166, allocations: 410.9 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.7168, allocations: 95.58 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.7168, allocations: 11.94 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009503/0.7178, allocations: 491.1 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.7178, allocations: 35.89 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.7179, allocations: 75.66 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.7185, allocations: 353 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7185, allocations: 4 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7185, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.7185, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 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.0007481/0.7193, allocations: 0.4953 MB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.7193, allocations: 12.03 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.7195, allocations: 24.75 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.7197, allocations: 208.1 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.7197, allocations: 12.7 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.7198, allocations: 12.38 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.7201, allocations: 257.1 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7202, allocations: 0 / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.7202, allocations: 8 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.7202, allocations: 11.94 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.7207, allocations: 423.5 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.7217, allocations: 1.011 MB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.722, allocations: 163.7 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.7221, allocations: 62.84 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.7234, allocations: 1.825 MB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.7235, allocations: 34.56 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.7235, allocations: 0 / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003367/0.7238, allocations: 151.5 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.7239, allocations: 59.34 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.724, allocations: 166.2 kB / 1.031 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.7241, allocations: 25.7 kB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.7242, allocations: 143.8 kB / 1.031 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.7242, allocations: 59.19 kB / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.7243, allocations: 49.7 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7244, allocations: 322.8 kB / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.7245, allocations: 35.97 kB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.7247, allocations: 142.2 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.7249, allocations: 194.8 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.7249, allocations: 8 kB / 1.032 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003238/0.7252, allocations: 217.1 kB / 1.032 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7253, allocations: 8 kB / 1.032 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.7253, allocations: 4 kB / 1.032 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7253, allocations: 4 kB / 1.032 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.7255, allocations: 60.27 kB / 1.032 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.7255, allocations: 15.98 kB / 1.032 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.7256, allocations: 23.69 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.7256, allocations: 15.98 kB / 1.033 GB, free: 2.125 MB / 0.7794 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.0001116/0.7257, allocations: 129.8 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.7258, allocations: 15.81 kB / 1.033 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.7261, allocations: 163.9 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.7261, allocations: 11.92 kB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7261, allocations: 0 / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7262, allocations: 4 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.7264, allocations: 213.5 kB / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7264, allocations: 0 / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.7265, allocations: 27.98 kB / 1.033 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7265, allocations: 0 / 1.033 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.7265, allocations: 4 kB / 1.033 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.7265, allocations: 3.938 kB / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7265, allocations: 0 / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.7268, allocations: 228 kB / 1.033 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/0.7269, allocations: 101 kB / 1.033 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.7269, allocations: 8 kB / 1.033 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.7271, allocations: 15.92 kB / 1.033 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.7272, allocations: 11.98 kB / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.7272, allocations: 7.984 kB / 1.033 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.521e-05/0.7273, allocations: 121.6 kB / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7273, allocations: 0 / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003959/0.7277, allocations: 79.94 kB / 1.034 GB, free: 0.9102 MB / 0.7794 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.000393/0.7281, allocations: 179.2 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.7284, allocations: 126.5 kB / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7284, allocations: 0 / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.792e-05/0.7285, allocations: 47.91 kB / 1.034 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.7289, allocations: 55.84 kB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.7296, allocations: 358.7 kB / 1.034 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.7299, allocations: 0.7128 MB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.7301, allocations: 45.8 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.7301, allocations: 23.44 kB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.7301, allocations: 0 / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of Templates: time 0.006893/0.737, allocations: 3.347 MB / 1.038 GB, free: 12.01 MB / 0.795 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches