Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007301/0.007301, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.446/1.446, 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 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003961, allocations: 8 kB / 0.8728 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8257, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005148/0.8309, allocations: 3.42 MB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002044/0.8311, allocations: 155.5 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.8312, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.8313, allocations: 3.938 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.8314, allocations: 7.969 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.8317, allocations: 79.77 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.8318, allocations: 59.81 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.8319, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.8319, allocations: 15.98 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.832, allocations: 15.92 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.832, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.8326, allocations: 195.5 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.8326, allocations: 12 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.8327, allocations: 37.62 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.8328, allocations: 41.92 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8328, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8328, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.8328, allocations: 0 / 1.027 GB, free: 11.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003959/0.8332, allocations: 331.5 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.8333, allocations: 12.03 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.8333, allocations: 4.875 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.8335, allocations: 168.3 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.8335, allocations: 34.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.8336, allocations: 384 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.8337, allocations: 41.62 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.8337, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.8337, allocations: 4 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.8338, allocations: 7.984 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.8338, allocations: 8 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.8343, allocations: 345.9 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.8343, allocations: 14.58 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.8344, allocations: 8.922 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.41e-05/0.8344, allocations: 85.09 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.8345, allocations: 34.56 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8345, allocations: 3.938 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.8346, allocations: 41.64 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.8347, allocations: 55.39 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.8348, allocations: 97.86 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.8348, allocations: 29.7 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.8349, allocations: 84.05 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.8349, allocations: 11.83 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.8349, allocations: 13.72 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8351, allocations: 318.8 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.8351, allocations: 4.125 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/0.8351, allocations: 13.72 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.8352, allocations: 29.64 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8352, allocations: 0 / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.399e-05/0.8352, allocations: 45.69 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8353, allocations: 4 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8353, allocations: 8.062 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8353, allocations: 0 / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.8353, allocations: 7.938 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.8354, allocations: 0 / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.8354, allocations: 0 / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.8354, allocations: 4 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 9.102e-05/0.8355, allocations: 113.8 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.8355, allocations: 4 kB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.8356, allocations: 121 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/0.8357, allocations: 188.4 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.758e-05/0.8358, allocations: 176.3 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.474e-05/0.8359, allocations: 188.2 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.8361, allocations: 409.1 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.231e-05/0.8362, allocations: 105 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.8362, allocations: 108.9 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.829e-05/0.8363, allocations: 180.3 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/0.8364, allocations: 180.2 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.149e-05/0.8365, allocations: 180.2 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.541e-05/0.8366, allocations: 188.2 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.8368, allocations: 311.7 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8369, allocations: 189.9 kB / 1.031 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.837, allocations: 176.3 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.8371, allocations: 105 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.8372, allocations: 196.2 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.8373, allocations: 105 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.8373, allocations: 79.28 kB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8374, allocations: 0 / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002628/0.8376, allocations: 15.94 kB / 1.032 GB, free: 6.254 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 (0): * Single equations (assignments): 0 * 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.0002887/0.8379, allocations: 214.4 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.345e-05/0.838, allocations: 7.938 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.838, allocations: 4 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-06/0.838, allocations: 0 / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.8385, allocations: 0.5309 MB / 1.033 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.8388, allocations: 195.8 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.8391, allocations: 0.6731 MB / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.8392, allocations: 11.61 kB / 1.033 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.8392, allocations: 7.438 kB / 1.033 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.8392, allocations: 0 / 1.033 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of Templates: time 0.003084/0.8423, allocations: 0.6125 MB / 1.034 GB, free: 3.945 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches