Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 84.39 kB / 20.23 MB, free: 4.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 169.2 kB / 23.55 MB, free: 0.9922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.992/2.992, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.875 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.946e-05, allocations: 3.375 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006588/0.006618, allocations: 3.911 MB / 0.7902 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002494/0.006867, allocations: 140.1 kB / 0.7903 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.006893, allocations: 1.656 kB / 0.7903 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.006999, allocations: 7.938 kB / 0.7903 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.007075, allocations: 7.984 kB / 0.7903 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.007478, allocations: 93.19 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.298e-05/0.007571, allocations: 32.55 kB / 0.7904 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.007605, allocations: 0 / 0.7904 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.316e-05/0.007678, allocations: 31.31 kB / 0.7905 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.007747, allocations: 7.984 kB / 0.7905 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.007762, allocations: 0 / 0.7905 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.007982, allocations: 59.69 kB / 0.7905 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.008028, allocations: 7.984 kB / 0.7905 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.008069, allocations: 11.98 kB / 0.7905 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.008246, allocations: 63.8 kB / 0.7906 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.008249, allocations: 0 / 0.7906 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.51e-07/0.00825, allocations: 0 / 0.7906 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.008254, allocations: 0.7188 kB / 0.7906 GB, free: 8.473 MB / 0.7448 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.0004201/0.008675, allocations: 258.3 kB / 0.7908 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.008713, allocations: 12.91 kB / 0.7909 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.008762, allocations: 0.9375 kB / 0.7909 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.008889, allocations: 118.5 kB / 0.791 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.034e-05/0.008979, allocations: 51.97 kB / 0.791 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.009002, allocations: 4.906 kB / 0.791 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.009158, allocations: 65.33 kB / 0.7911 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.009167, allocations: 192 / 0.7911 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.009184, allocations: 7.938 kB / 0.7911 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.009202, allocations: 0 / 0.7911 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.009261, allocations: 21.08 kB / 0.7911 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.009919, allocations: 200.6 kB / 0.7913 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.005e-05/0.009979, allocations: 15.33 kB / 0.7913 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.01, allocations: 12.86 kB / 0.7913 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.253e-05/0.01006, allocations: 8.609 kB / 0.7913 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.01011, allocations: 35.88 kB / 0.7914 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.01011, allocations: 4 kB / 0.7914 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000166/0.01027, allocations: 33.64 kB / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.01032, allocations: 52.03 kB / 0.7915 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.01043, allocations: 111.2 kB / 0.7916 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.01045, allocations: 25.7 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.01051, allocations: 84.09 kB / 0.7917 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.01052, allocations: 7.953 kB / 0.7917 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.01057, allocations: 22.2 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.01073, allocations: 311.4 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.01075, allocations: 4 kB / 0.792 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.01078, allocations: 18.28 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.01082, allocations: 22.89 kB / 0.792 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01082, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001133/0.01094, allocations: 58.25 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01095, allocations: 5.375 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01096, allocations: 0 / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.01098, allocations: 4 kB / 0.7921 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.01102, allocations: 5.219 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.01102, allocations: 3.938 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.01105, allocations: 3.938 kB / 0.7921 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01106, allocations: 4 kB / 0.7921 GB, free: 6.727 MB / 0.7448 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.319e-05/0.01115, allocations: 110.9 kB / 0.7922 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.01119, allocations: 7.938 kB / 0.7922 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.01133, allocations: 129.6 kB / 0.7924 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001009/0.01143, allocations: 185.2 kB / 0.7925 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.594e-05/0.01153, allocations: 176.3 kB / 0.7927 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/0.01163, allocations: 188.2 kB / 0.7929 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.01192, allocations: 354.1 kB / 0.7932 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.875e-05/0.01198, allocations: 104.9 kB / 0.7933 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.01204, allocations: 105 kB / 0.7934 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.01214, allocations: 189.2 kB / 0.7936 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.01224, allocations: 180.2 kB / 0.7938 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.551e-05/0.01234, allocations: 178.6 kB / 0.7939 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001013/0.01244, allocations: 184.2 kB / 0.7941 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.01264, allocations: 303.8 kB / 0.7944 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.0127, allocations: 108.9 kB / 0.7945 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.01282, allocations: 180.3 kB / 0.7947 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.013, allocations: 112.9 kB / 0.7948 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.0131, allocations: 183.6 kB / 0.795 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.01316, allocations: 105 kB / 0.7951 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.639e-05/0.01322, allocations: 91.2 kB / 0.7952 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01322, allocations: 0 / 0.7952 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002645/0.01349, allocations: 15.94 kB / 0.7952 GB, free: 3.434 MB / 0.7448 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.0002407/0.01373, allocations: 198.4 kB / 0.7954 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.8e-05/0.0138, allocations: 4.312 kB / 0.7954 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0138, allocations: 0.9688 kB / 0.7954 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.0138, allocations: 0 / 0.7954 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.01433, allocations: 470.3 kB / 0.7958 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.01464, allocations: 180 kB / 0.796 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.01472, allocations: 56.23 kB / 0.796 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.01477, allocations: 9.359 kB / 0.796 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.0148, allocations: 12.44 kB / 0.7961 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.0148, allocations: 1.094 kB / 0.7961 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.003425/0.01822, allocations: 0.6878 MB / 0.7967 GB, free: 1.805 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9083524799207225]