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.00142/0.00142, allocations: 108 kB / 15.61 MB, free: 152 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.001441/0.001442, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.884/2.884, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 75.81 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6797/0.6817, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007207/0.689, allocations: 4.437 MB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.6925, allocations: 2.687 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.6926, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.693, allocations: 51.67 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.6934, allocations: 95.42 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.6949, allocations: 491 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.6952, allocations: 247.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.6953, allocations: 9.562 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.6965, allocations: 415.8 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.6966, allocations: 91.59 kB / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.6967, allocations: 8 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.6978, allocations: 491.1 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.6979, allocations: 35.89 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.698, allocations: 79.66 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.6986, allocations: 357 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6986, allocations: 0 / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6986, allocations: 0 / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6986, allocations: 0 / 1.026 GB, free: 9.023 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.0008527/0.6995, allocations: 0.4968 MB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6995, allocations: 12.03 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.6997, allocations: 20.75 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.7, allocations: 208.1 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.7, allocations: 12.7 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.7, allocations: 20.38 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.7005, allocations: 245.1 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.7005, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.7005, allocations: 15.98 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.7006, allocations: 4 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.7011, allocations: 435.4 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.7025, allocations: 1.011 MB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.7028, allocations: 155.7 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.7029, allocations: 60.88 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/0.7048, allocations: 1.829 MB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.7048, allocations: 38.5 kB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.7048, allocations: 0 / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004066/0.7052, allocations: 143.7 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.7053, allocations: 63.34 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.7055, allocations: 158.2 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.7056, allocations: 33.7 kB / 1.031 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.7057, allocations: 139.8 kB / 1.031 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.7058, allocations: 59.2 kB / 1.031 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.7058, allocations: 49.69 kB / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.706, allocations: 326.8 kB / 1.032 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.7061, allocations: 39.97 kB / 1.032 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.7063, allocations: 134.2 kB / 1.032 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.7066, allocations: 203.4 kB / 1.032 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7066, allocations: 0 / 1.032 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003742/0.707, allocations: 221.3 kB / 1.032 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.707, allocations: 8 kB / 1.032 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.707, allocations: 4 kB / 1.032 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.707, allocations: 7.938 kB / 1.032 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.7072, allocations: 55.86 kB / 1.032 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.7073, allocations: 7.984 kB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.7074, allocations: 31.69 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.7074, allocations: 16 kB / 1.033 GB, free: 2.082 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.0001428/0.7076, allocations: 131.7 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.7076, allocations: 19.75 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.7079, allocations: 152.1 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.708, allocations: 7.922 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.708, allocations: 4 kB / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.708, allocations: 0 / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.7083, allocations: 217.5 kB / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7083, allocations: 0 / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.7084, allocations: 27.98 kB / 1.033 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7084, allocations: 4 kB / 1.033 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.7084, allocations: 3.938 kB / 1.033 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.7084, allocations: 3.938 kB / 1.033 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7085, allocations: 4 kB / 1.033 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.7088, allocations: 220.1 kB / 1.033 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.7089, allocations: 101 kB / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.7089, allocations: 0 / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.7091, allocations: 27.86 kB / 1.033 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.7092, allocations: 15.92 kB / 1.033 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.7092, allocations: 11.98 kB / 1.033 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001121/0.7093, allocations: 121.6 kB / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7093, allocations: 0 / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004119/0.7097, allocations: 71.94 kB / 1.034 GB, free: 0.8711 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.0004399/0.7102, allocations: 187.1 kB / 1.034 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.7105, allocations: 128.4 kB / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7105, allocations: 0 / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.7106, allocations: 47.91 kB / 1.034 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.7111, allocations: 50.62 kB / 1.034 GB, free: 472 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.7119, allocations: 352.1 kB / 1.034 GB, free: 92 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.7123, allocations: 0.7129 MB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.7125, allocations: 49.67 kB / 1.035 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.7125, allocations: 27.44 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.7125, allocations: 0 / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of Templates: time 0.007913/0.7204, allocations: 3.344 MB / 1.038 GB, free: 11.97 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=400 -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