Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000836/0.000836, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008045/0.0008045, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8916/0.8916, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.681/1.681, allocations: 377.9 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.047e-05, allocations: 12.69 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004272/0.004303, allocations: 3.909 MB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0001154/0.004418, allocations: 135.5 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.004441, allocations: 0 / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.004544, allocations: 3.938 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.004615, allocations: 15.91 kB / 0.9861 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.004895, allocations: 86.75 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.00497, allocations: 39.84 kB / 0.9862 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.005012, allocations: 7.984 kB / 0.9862 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.005061, allocations: 15.98 kB / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.005129, allocations: 15.92 kB / 0.9863 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.005141, allocations: 0 / 0.9863 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.005282, allocations: 59.73 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.005324, allocations: 3.984 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.005344, allocations: 15.94 kB / 0.9864 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.005512, allocations: 59.86 kB / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005514, allocations: 0 / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.005515, allocations: 4 kB / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.005519, allocations: 0 / 0.9864 GB, free: 13.73 MB / 0.948 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.0003485/0.005868, allocations: 262.3 kB / 0.9867 GB, free: 13.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.005907, allocations: 12.03 kB / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.005951, allocations: 0.9375 kB / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.006036, allocations: 101.8 kB / 0.9868 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.006102, allocations: 55.97 kB / 0.9868 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.006117, allocations: 4.312 kB / 0.9868 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.006238, allocations: 75.94 kB / 0.9869 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.006246, allocations: 4.172 kB / 0.9869 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006257, allocations: 11.88 kB / 0.9869 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.006275, allocations: 0 / 0.9869 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.006313, allocations: 19.92 kB / 0.9869 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.006657, allocations: 200.6 kB / 0.9871 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/0.006696, allocations: 26.52 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.00671, allocations: 8.797 kB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.006751, allocations: 8.062 kB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.52e-05/0.006846, allocations: 30.56 kB / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.006847, allocations: 0 / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.00696, allocations: 41.69 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.006984, allocations: 51.41 kB / 0.9873 GB, free: 12.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.007041, allocations: 101.8 kB / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.007052, allocations: 33.64 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.007086, allocations: 88.09 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-06/0.007091, allocations: 3.953 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.007114, allocations: 13.72 kB / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.007185, allocations: 318.8 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.007197, allocations: 4 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.007214, allocations: 13.72 kB / 0.9878 GB, free: 12.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.007239, allocations: 25.84 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00724, allocations: 0 / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.958e-05/0.00729, allocations: 53.56 kB / 0.9879 GB, free: 11.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.007301, allocations: 4 kB / 0.9879 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007305, allocations: 4 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.00732, allocations: 0 / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.548e-05/0.007356, allocations: 7.984 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.00736, allocations: 0 / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.007372, allocations: 8 kB / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.007379, allocations: 4 kB / 0.9879 GB, free: 11.96 MB / 0.948 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 5.448e-05/0.007433, allocations: 109.8 kB / 0.988 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.007446, allocations: 3.938 kB / 0.9881 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.218e-05/0.007528, allocations: 124.9 kB / 0.9882 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/0.007566, allocations: 180.3 kB / 0.9883 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/0.007606, allocations: 184.2 kB / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/0.00764, allocations: 176.3 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.007896, allocations: 364.8 kB / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.007918, allocations: 105 kB / 0.9891 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.007938, allocations: 105 kB / 0.9892 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.894e-05/0.007977, allocations: 192.1 kB / 0.9894 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.008016, allocations: 180.2 kB / 0.9896 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.561e-05/0.008052, allocations: 184.2 kB / 0.9898 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-05/0.008087, allocations: 180.3 kB / 0.9899 GB, free: 9.797 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.426e-05/0.008172, allocations: 303.7 kB / 0.9902 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.008199, allocations: 112.9 kB / 0.9903 GB, free: 9.359 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.008246, allocations: 184.2 kB / 0.9905 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.00834, allocations: 105 kB / 0.9906 GB, free: 9.062 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.008383, allocations: 180.2 kB / 0.9908 GB, free: 8.879 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.008407, allocations: 116.9 kB / 0.9909 GB, free: 8.758 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.008438, allocations: 83.28 kB / 0.991 GB, free: 8.676 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008438, allocations: 0 / 0.991 GB, free: 8.676 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001572/0.008595, allocations: 15.94 kB / 0.991 GB, free: 8.66 MB / 0.948 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.0001408/0.008736, allocations: 195 kB / 0.9912 GB, free: 8.461 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.551e-05/0.008792, allocations: 4.312 kB / 0.9912 GB, free: 8.457 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.008795, allocations: 4 kB / 0.9912 GB, free: 8.453 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.008796, allocations: 3.938 kB / 0.9912 GB, free: 8.449 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.009067, allocations: 466.4 kB / 0.9916 GB, free: 7.992 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.009278, allocations: 209.7 kB / 0.9918 GB, free: 7.754 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.009316, allocations: 59.62 kB / 0.9919 GB, free: 7.676 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.009335, allocations: 12.5 kB / 0.9919 GB, free: 7.664 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.009336, allocations: 0 / 0.9919 GB, free: 7.664 MB / 0.948 GB Notification: Performance of Templates: time 0.001681/0.01102, allocations: 0.7472 MB / 0.9926 GB, free: 6.918 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.444519038312137]