Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 98.88 kB / 16.02 MB, free: 76 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.001515/0.001515, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.34 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.373/2.373, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6926, allocations: 142.4 MB / 0.9557 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001178/0.6938, allocations: 0.9823 MB / 0.9567 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.6969, allocations: 2.894 MB / 0.9595 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.6969, allocations: 0 / 0.9595 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.697, allocations: 0 / 0.9595 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.697, allocations: 7.922 kB / 0.9595 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.6974, allocations: 91.33 kB / 0.9596 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.6975, allocations: 37.8 kB / 0.9596 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.6976, allocations: 1.781 kB / 0.9596 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.698, allocations: 150.8 kB / 0.9598 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.593e-05/0.698, allocations: 14.86 kB / 0.9598 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.698, allocations: 1.375 kB / 0.9598 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.6982, allocations: 64.69 kB / 0.9598 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.6982, allocations: 10.69 kB / 0.9598 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.6982, allocations: 44.5 kB / 0.9599 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.6984, allocations: 45.23 kB / 0.9599 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6984, allocations: 0 / 0.9599 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6984, allocations: 1.375 kB / 0.9599 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.6984, allocations: 4 kB / 0.9599 GB, free: 4.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003005/0.6987, allocations: 334.5 kB / 0.9603 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6987, allocations: 9.625 kB / 0.9603 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.6988, allocations: 7.594 kB / 0.9603 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.6989, allocations: 165.7 kB / 0.9604 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6989, allocations: 1.75 kB / 0.9604 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.6989, allocations: 7.125 kB / 0.9604 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.699, allocations: 54.17 kB / 0.9605 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.6991, allocations: 5.375 kB / 0.9605 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.6991, allocations: 4 kB / 0.9605 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6991, allocations: 1.375 kB / 0.9605 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.6991, allocations: 17.59 kB / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.6993, allocations: 161.9 kB / 0.9607 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.6994, allocations: 52.5 kB / 0.9607 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.6994, allocations: 19.72 kB / 0.9607 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/0.7, allocations: 0.6039 MB / 0.9613 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.7, allocations: 35.94 kB / 0.9614 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.7, allocations: 0 / 0.9614 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005002/0.7005, allocations: 294.5 kB / 0.9616 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.7005, allocations: 60.77 kB / 0.9617 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.463e-05/0.7006, allocations: 97.92 kB / 0.9618 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.7006, allocations: 31.08 kB / 0.9618 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.7007, allocations: 85.42 kB / 0.9619 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.7007, allocations: 34.23 kB / 0.9619 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.7007, allocations: 17.84 kB / 0.962 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.7008, allocations: 324.1 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.7008, allocations: 6.875 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.7008, allocations: 61.45 kB / 0.9623 GB, free: 2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.7009, allocations: 75 kB / 0.9624 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.7009, allocations: 4 kB / 0.9624 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001294/0.7011, allocations: 90.67 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.7011, allocations: 6.094 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7011, allocations: 1.125 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7011, allocations: 3.094 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.7012, allocations: 23.28 kB / 0.9625 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7012, allocations: 6.984 kB / 0.9625 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.7012, allocations: 5.25 kB / 0.9625 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.7013, allocations: 8.062 kB / 0.9625 GB, free: 1.848 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 5.999e-05/0.7013, allocations: 117.3 kB / 0.9627 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.7014, allocations: 6.125 kB / 0.9627 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.7014, allocations: 8.938 kB / 0.9627 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.7014, allocations: 0.75 kB / 0.9627 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7014, allocations: 0.875 kB / 0.9627 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7014, allocations: 3.938 kB / 0.9627 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.7016, allocations: 178.2 kB / 0.9628 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7016, allocations: 0 / 0.9628 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.7017, allocations: 16.83 kB / 0.9629 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7017, allocations: 5.25 kB / 0.9629 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.7017, allocations: 1.281 kB / 0.9629 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7017, allocations: 0 / 0.9629 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.7017, allocations: 0 / 0.9629 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.7019, allocations: 181.5 kB / 0.963 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.7019, allocations: 79.11 kB / 0.9631 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.702, allocations: 4.781 kB / 0.9631 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.7021, allocations: 14.97 kB / 0.9631 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.7021, allocations: 2.438 kB / 0.9631 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.7021, allocations: 6.375 kB / 0.9631 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.017e-05/0.7021, allocations: 77.19 kB / 0.9632 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7021, allocations: 1.125 kB / 0.9632 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002376/0.7024, allocations: 13.34 kB / 0.9632 GB, free: 1.137 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001075/0.7025, allocations: 110.5 kB / 0.9633 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.7026, allocations: 46.22 kB / 0.9634 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7026, allocations: 1.125 kB / 0.9634 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.7026, allocations: 18.91 kB / 0.9634 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.7029, allocations: 2.875 kB / 0.9634 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.7035, allocations: 419.3 kB / 0.9638 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.7036, allocations: 0.6822 MB / 0.9645 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.7036, allocations: 16.62 kB / 0.9645 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.7037, allocations: 0 / 0.9645 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.002353/0.706, allocations: 0.764 MB / 0.9652 GB, free: 15.54 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches