Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.000861/0.000861, allocations: 76.55 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.0009756/0.0009756, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9156/0.9156, allocations: 177.1 MB / 203.5 MB, free: 5.688 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.729/1.729, allocations: 377.9 MB / 0.6229 GB, free: 8.645 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.726e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5224/0.5224, allocations: 119 MB / 1.098 GB, free: 32.13 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.5225, allocations: 56.98 kB / 1.098 GB, free: 32.11 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.5225, allocations: 3.938 kB / 1.098 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.5227, allocations: 3.938 kB / 1.098 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.5227, allocations: 14.11 kB / 1.098 GB, free: 32.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.5234, allocations: 247.6 kB / 1.099 GB, free: 31.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.5235, allocations: 37.17 kB / 1.099 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.5235, allocations: 1 kB / 1.099 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.5236, allocations: 24.53 kB / 1.099 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.5236, allocations: 13.31 kB / 1.099 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.5236, allocations: 3 kB / 1.099 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.5239, allocations: 181.6 kB / 1.099 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.524, allocations: 5.359 kB / 1.099 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.524, allocations: 12.27 kB / 1.099 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.5243, allocations: 176.3 kB / 1.099 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5243, allocations: 0.9375 kB / 1.099 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5243, allocations: 3.938 kB / 1.099 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.5243, allocations: 0 / 1.099 GB, free: 31.82 MB / 0.9948 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.0003023/0.5246, allocations: 290.2 kB / 1.099 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5246, allocations: 9.188 kB / 1.099 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.5247, allocations: 2.312 kB / 1.099 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.284e-05/0.5247, allocations: 105.5 kB / 1.1 GB, free: 31.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.5248, allocations: 53.19 kB / 1.1 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.5248, allocations: 5.578 kB / 1.1 GB, free: 31.35 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.5249, allocations: 75.61 kB / 1.1 GB, free: 31.28 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.5249, allocations: 4.531 kB / 1.1 GB, free: 31.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.5249, allocations: 3 kB / 1.1 GB, free: 31.28 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.5249, allocations: 1.312 kB / 1.1 GB, free: 31.28 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.525, allocations: 16.45 kB / 1.1 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.5254, allocations: 256.2 kB / 1.1 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.4e-05/0.5255, allocations: 24.62 kB / 1.1 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.11e-05/0.5255, allocations: 9.797 kB / 1.1 GB, free: 31.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.5255, allocations: 27.66 kB / 1.1 GB, free: 31.01 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.5256, allocations: 35.84 kB / 1.1 GB, free: 30.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.5256, allocations: 0.5312 kB / 1.1 GB, free: 30.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.5257, allocations: 39.19 kB / 1.1 GB, free: 30.93 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.5257, allocations: 52.44 kB / 1.1 GB, free: 30.87 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.5257, allocations: 103.7 kB / 1.1 GB, free: 30.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.5257, allocations: 26.2 kB / 1.1 GB, free: 30.74 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.5258, allocations: 89.59 kB / 1.1 GB, free: 30.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-06/0.5258, allocations: 0.5 kB / 1.1 GB, free: 30.65 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.5258, allocations: 17.94 kB / 1.1 GB, free: 30.63 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.5258, allocations: 323.4 kB / 1.101 GB, free: 30.31 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.5258, allocations: 2.281 kB / 1.101 GB, free: 30.31 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.5259, allocations: 18.16 kB / 1.101 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.5259, allocations: 23.02 kB / 1.101 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5259, allocations: 0.5625 kB / 1.101 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.479e-05/0.5259, allocations: 57.47 kB / 1.101 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.526, allocations: 6.625 kB / 1.101 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.526, allocations: 0.5 kB / 1.101 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.526, allocations: 1.156 kB / 1.101 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.526, allocations: 5.531 kB / 1.101 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.526, allocations: 1.094 kB / 1.101 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.526, allocations: 4.625 kB / 1.101 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5261, allocations: 5.812 kB / 1.101 GB, free: 30.22 MB / 0.9948 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 3.594e-05/0.5261, allocations: 111.9 kB / 1.101 GB, free: 30.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.5261, allocations: 5.5 kB / 1.101 GB, free: 30.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.5262, allocations: 123.9 kB / 1.101 GB, free: 29.98 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.5262, allocations: 177.4 kB / 1.101 GB, free: 29.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.5262, allocations: 186 kB / 1.101 GB, free: 29.61 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5262, allocations: 177.3 kB / 1.102 GB, free: 29.43 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.265e-05/0.5263, allocations: 354.2 kB / 1.102 GB, free: 29.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.5263, allocations: 110.7 kB / 1.102 GB, free: 28.94 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-06/0.5263, allocations: 117.1 kB / 1.102 GB, free: 28.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.5263, allocations: 185.2 kB / 1.102 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.5264, allocations: 177.6 kB / 1.102 GB, free: 28.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.5264, allocations: 177.5 kB / 1.103 GB, free: 28.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.5264, allocations: 181.7 kB / 1.103 GB, free: 28.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.288e-05/0.5264, allocations: 312.4 kB / 1.103 GB, free: 27.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.5264, allocations: 106.3 kB / 1.103 GB, free: 27.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.5265, allocations: 185.9 kB / 1.103 GB, free: 27.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.5265, allocations: 103.5 kB / 1.103 GB, free: 27.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.5266, allocations: 185.2 kB / 1.104 GB, free: 27.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.5266, allocations: 106.1 kB / 1.104 GB, free: 27.09 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.5266, allocations: 84.75 kB / 1.104 GB, free: 27.01 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5266, allocations: 0 / 1.104 GB, free: 27.01 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002371/0.5268, allocations: 60.2 kB / 1.104 GB, free: 26.99 MB / 0.9948 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.0002781/0.5271, allocations: 258.9 kB / 1.104 GB, free: 26.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.5272, allocations: 9.969 kB / 1.104 GB, free: 26.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5272, allocations: 0.5312 kB / 1.104 GB, free: 26.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.5272, allocations: 4.531 kB / 1.104 GB, free: 26.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.5274, allocations: 456.3 kB / 1.105 GB, free: 26.35 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.5276, allocations: 206.7 kB / 1.105 GB, free: 26.14 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.5276, allocations: 62.81 kB / 1.105 GB, free: 26.06 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.5276, allocations: 10.75 kB / 1.105 GB, free: 26.06 MB / 0.9948 GB Notification: Performance of SimCode: time 5.61e-07/0.5276, allocations: 4.125 kB / 1.105 GB, free: 26.05 MB / 0.9948 GB Notification: Performance of Templates: time 0.001993/0.5296, allocations: 1.269 MB / 1.106 GB, free: 25.91 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.062495541758835]