Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002036/0.002036, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.543/1.543, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.788/2.788, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 71.89 kB / 0.8685 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9858/0.9885, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007217/0.9958, allocations: 4.053 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000241/0.996, allocations: 163.5 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.9961, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.9962, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.295e-05/0.9963, allocations: 11.92 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.9967, allocations: 77.52 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.9968, allocations: 59.86 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.9969, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/0.9969, allocations: 15.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.997, allocations: 19.86 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.997, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.9973, allocations: 75.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.9973, allocations: 7.969 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.9974, allocations: 8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.9975, allocations: 51.88 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9976, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.31e-07/0.9976, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.9976, allocations: 0 / 1.021 GB, free: 14.22 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.0004883/0.9981, allocations: 333.5 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.9981, allocations: 8.031 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.9982, allocations: 4.938 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.9983, allocations: 160.4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.9984, allocations: 26.27 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.9984, allocations: 8.375 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.9986, allocations: 53.55 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9986, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.9986, allocations: 3.938 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.9987, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.9987, allocations: 23.97 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.9993, allocations: 337.9 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.9993, allocations: 26.55 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.9994, allocations: 4.859 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.9995, allocations: 85.17 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.9995, allocations: 34.5 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9995, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.9997, allocations: 37.69 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.9997, allocations: 55.41 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.9999, allocations: 97.98 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.9999, allocations: 33.64 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/1, allocations: 92.03 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/1, allocations: 3.984 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/1, allocations: 13.72 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1, allocations: 318.8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/1, allocations: 7.984 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/1, allocations: 17.72 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/1, allocations: 17.72 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.94e-05/1, allocations: 57.53 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/1, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/1, allocations: 12.05 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/1.001, allocations: 3.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/1.001, allocations: 0 / 1.023 GB, free: 12.1 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.184e-05/1.001, allocations: 114.3 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/1.001, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/1.001, allocations: 124.9 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.997e-05/1.001, allocations: 176.3 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-05/1.001, allocations: 188.2 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.221e-05/1.001, allocations: 176.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/1.001, allocations: 417.1 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/1.001, allocations: 101 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/1.002, allocations: 101 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/1.002, allocations: 188.2 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/1.002, allocations: 184.3 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.635e-05/1.002, allocations: 180.2 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.474e-05/1.002, allocations: 176.3 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/1.002, allocations: 319.6 kB / 1.025 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.002, allocations: 185.9 kB / 1.025 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.002, allocations: 184.2 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/1.002, allocations: 105 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/1.003, allocations: 184.2 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/1.003, allocations: 105 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.098e-05/1.003, allocations: 87.28 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 0 / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/1.003, allocations: 19.98 kB / 1.026 GB, free: 8.633 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.0003315/1.003, allocations: 194.5 kB / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.504e-05/1.003, allocations: 15.92 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.003, allocations: 0 / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/1.003, allocations: 4.125 kB / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/1.004, allocations: 0.5204 MB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/1.004, allocations: 187.7 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/1.005, allocations: 0.677 MB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.025e-05/1.005, allocations: 15.78 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/1.005, allocations: 7.438 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of SimCode: time 3.517e-06/1.005, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of Templates: time 0.003276/1.008, allocations: 0.6265 MB / 1.028 GB, free: 6.332 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches