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.001258/0.001258, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.001406/0.001406, allocations: 213 kB / 23.04 MB, free: 4.867 MB / 14.72 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.059/3.059, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 68.98 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1694/0.5241, allocations: 119 MB / 1.443 GB, free: 9.516 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.5243, allocations: 63.84 kB / 1.443 GB, free: 9.453 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.5244, allocations: 0 / 1.443 GB, free: 9.453 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.5245, allocations: 3.938 kB / 1.443 GB, free: 9.449 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.5246, allocations: 15.91 kB / 1.443 GB, free: 9.434 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.5256, allocations: 239 kB / 1.444 GB, free: 9.199 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.5257, allocations: 35.84 kB / 1.444 GB, free: 9.164 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.5257, allocations: 4 kB / 1.444 GB, free: 9.16 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.5257, allocations: 23.91 kB / 1.444 GB, free: 9.137 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.5258, allocations: 11.98 kB / 1.444 GB, free: 9.125 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.5258, allocations: 0 / 1.444 GB, free: 9.125 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.5263, allocations: 171.5 kB / 1.444 GB, free: 8.957 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.5263, allocations: 15.92 kB / 1.444 GB, free: 8.941 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.5264, allocations: 11.98 kB / 1.444 GB, free: 8.93 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.5267, allocations: 167.6 kB / 1.444 GB, free: 8.766 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5267, allocations: 3.938 kB / 1.444 GB, free: 8.762 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5267, allocations: 0 / 1.444 GB, free: 8.762 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5267, allocations: 0 / 1.444 GB, free: 8.762 MB / 1.139 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.0004529/0.5272, allocations: 286 kB / 1.444 GB, free: 8.453 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5272, allocations: 8.031 kB / 1.444 GB, free: 8.445 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.5272, allocations: 4.938 kB / 1.444 GB, free: 8.441 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.5274, allocations: 106.5 kB / 1.444 GB, free: 8.312 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.5275, allocations: 55.97 kB / 1.445 GB, free: 8.246 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.5275, allocations: 7.938 kB / 1.445 GB, free: 8.238 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.5276, allocations: 71.39 kB / 1.445 GB, free: 8.156 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5276, allocations: 0 / 1.445 GB, free: 8.156 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.5277, allocations: 4 kB / 1.445 GB, free: 8.152 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.5277, allocations: 0 / 1.445 GB, free: 8.152 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.5277, allocations: 15.92 kB / 1.445 GB, free: 8.137 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.5284, allocations: 256.5 kB / 1.445 GB, free: 7.855 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.5284, allocations: 18.58 kB / 1.445 GB, free: 7.828 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.5284, allocations: 8.859 kB / 1.445 GB, free: 7.816 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.217e-05/0.5285, allocations: 32.02 kB / 1.445 GB, free: 7.785 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.5286, allocations: 38.56 kB / 1.445 GB, free: 7.738 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5286, allocations: 3.938 kB / 1.445 GB, free: 7.734 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.5287, allocations: 33.64 kB / 1.445 GB, free: 7.695 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5288, allocations: 55.39 kB / 1.445 GB, free: 7.629 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.5288, allocations: 105.8 kB / 1.445 GB, free: 7.516 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.5289, allocations: 25.7 kB / 1.445 GB, free: 7.484 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.5289, allocations: 95.97 kB / 1.445 GB, free: 7.387 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.5289, allocations: 3.984 kB / 1.445 GB, free: 7.383 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.529, allocations: 21.84 kB / 1.445 GB, free: 7.355 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5292, allocations: 314.8 kB / 1.446 GB, free: 7.039 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.5292, allocations: 4 kB / 1.446 GB, free: 7.035 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.5292, allocations: 21.7 kB / 1.446 GB, free: 7.008 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.5292, allocations: 17.66 kB / 1.446 GB, free: 6.984 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5292, allocations: 4 kB / 1.446 GB, free: 6.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.785e-05/0.5293, allocations: 45.69 kB / 1.446 GB, free: 6.93 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.5293, allocations: 4 kB / 1.446 GB, free: 6.926 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5294, allocations: 4.062 kB / 1.446 GB, free: 6.922 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5294, allocations: 7.938 kB / 1.446 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.443e-05/0.5294, allocations: 4 kB / 1.446 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.5294, allocations: 0 / 1.446 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.5294, allocations: 3.953 kB / 1.446 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.5294, allocations: 4 kB / 1.446 GB, free: 6.902 MB / 1.139 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 8.96e-05/0.5295, allocations: 117.8 kB / 1.446 GB, free: 6.777 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.5296, allocations: 4 kB / 1.446 GB, free: 6.773 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.5297, allocations: 113 kB / 1.446 GB, free: 6.652 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.349e-05/0.5298, allocations: 184.2 kB / 1.446 GB, free: 6.465 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.132e-05/0.5299, allocations: 184.3 kB / 1.446 GB, free: 6.277 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-05/0.53, allocations: 184.5 kB / 1.446 GB, free: 6.09 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.5304, allocations: 356.8 kB / 1.447 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/0.5304, allocations: 101 kB / 1.447 GB, free: 5.598 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.5305, allocations: 112.9 kB / 1.447 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.579e-05/0.5306, allocations: 180.2 kB / 1.447 GB, free: 5.297 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.664e-05/0.5307, allocations: 184.2 kB / 1.447 GB, free: 5.109 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.833e-05/0.5308, allocations: 176.3 kB / 1.447 GB, free: 4.93 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.401e-05/0.5309, allocations: 188.4 kB / 1.448 GB, free: 4.738 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.531, allocations: 307.8 kB / 1.448 GB, free: 4.414 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.5311, allocations: 108.9 kB / 1.448 GB, free: 4.301 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5312, allocations: 188.2 kB / 1.448 GB, free: 4.109 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5314, allocations: 112.9 kB / 1.448 GB, free: 3.992 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.5315, allocations: 180.3 kB / 1.449 GB, free: 3.809 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.5315, allocations: 101 kB / 1.449 GB, free: 3.703 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.5316, allocations: 87.27 kB / 1.449 GB, free: 3.617 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5316, allocations: 0 / 1.449 GB, free: 3.617 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003499/0.5319, allocations: 55.75 kB / 1.449 GB, free: 3.562 MB / 1.139 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.0003346/0.5322, allocations: 258.1 kB / 1.449 GB, free: 3.297 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.5323, allocations: 11.98 kB / 1.449 GB, free: 3.285 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5323, allocations: 0 / 1.449 GB, free: 3.285 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.5323, allocations: 4 kB / 1.449 GB, free: 3.281 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.5328, allocations: 465.6 kB / 1.449 GB, free: 2.824 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.5332, allocations: 211.9 kB / 1.45 GB, free: 2.586 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.289e-05/0.5332, allocations: 55.36 kB / 1.45 GB, free: 2.512 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.5333, allocations: 11.42 kB / 1.45 GB, free: 2.5 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/0.5333, allocations: 0 / 1.45 GB, free: 2.5 MB / 1.139 GB Notification: Performance of Templates: time 0.003274/0.5365, allocations: 1.237 MB / 1.451 GB, free: 1.262 MB / 1.139 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/jenkins1/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: 11.152393114054576]