Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7634 GB, free: 15.29 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.88 kB / 1.108 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9705/0.9726, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1657/1.138, allocations: 135.8 MB / 1.405 GB, free: 4.418 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001861/1.138, allocations: 67.34 kB / 1.405 GB, free: 4.367 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/1.139, allocations: 3.938 kB / 1.405 GB, free: 4.363 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/1.139, allocations: 1.219 kB / 1.405 GB, free: 4.363 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/1.139, allocations: 14.55 kB / 1.405 GB, free: 4.352 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000863/1.14, allocations: 252.7 kB / 1.405 GB, free: 4.176 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.072e-05/1.14, allocations: 38.06 kB / 1.405 GB, free: 4.156 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/1.14, allocations: 1.25 kB / 1.405 GB, free: 4.156 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/1.14, allocations: 16.83 kB / 1.405 GB, free: 4.148 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/1.14, allocations: 15.5 kB / 1.405 GB, free: 4.141 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/1.14, allocations: 0 / 1.405 GB, free: 4.141 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/1.14, allocations: 247.7 kB / 1.406 GB, free: 3.996 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/1.14, allocations: 10.61 kB / 1.406 GB, free: 3.988 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/1.14, allocations: 8.438 kB / 1.406 GB, free: 3.984 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/1.141, allocations: 191.7 kB / 1.406 GB, free: 3.895 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.141, allocations: 4 kB / 1.406 GB, free: 3.891 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.112e-06/1.141, allocations: 0 / 1.406 GB, free: 3.891 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.167e-06/1.141, allocations: 0 / 1.406 GB, free: 3.891 MB / 1.092 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.0004459/1.141, allocations: 359.1 kB / 1.406 GB, free: 3.512 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/1.141, allocations: 9.531 kB / 1.406 GB, free: 3.512 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/1.141, allocations: 2.531 kB / 1.406 GB, free: 3.512 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.141, allocations: 169.7 kB / 1.406 GB, free: 3.309 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/1.141, allocations: 28.08 kB / 1.406 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/1.141, allocations: 9.406 kB / 1.406 GB, free: 3.27 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/1.142, allocations: 42.62 kB / 1.406 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/1.142, allocations: 0 / 1.406 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/1.142, allocations: 0 / 1.406 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/1.142, allocations: 0.9062 kB / 1.406 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/1.142, allocations: 18.14 kB / 1.406 GB, free: 3.223 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008185/1.143, allocations: 0.6112 MB / 1.407 GB, free: 2.527 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/1.143, allocations: 16.7 kB / 1.407 GB, free: 2.504 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/1.143, allocations: 6.328 kB / 1.407 GB, free: 2.496 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/1.143, allocations: 333.1 kB / 1.407 GB, free: 2.109 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/1.143, allocations: 35.97 kB / 1.407 GB, free: 2.066 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.143, allocations: 0 / 1.407 GB, free: 2.066 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001438/1.143, allocations: 40.53 kB / 1.407 GB, free: 2.027 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.143, allocations: 55.53 kB / 1.407 GB, free: 1.961 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/1.143, allocations: 99.8 kB / 1.408 GB, free: 1.859 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.143, allocations: 26.42 kB / 1.408 GB, free: 1.828 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/1.143, allocations: 89.61 kB / 1.408 GB, free: 1.738 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/1.143, allocations: 5.484 kB / 1.408 GB, free: 1.734 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/1.143, allocations: 16.72 kB / 1.408 GB, free: 1.715 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.143, allocations: 315.9 kB / 1.408 GB, free: 1.398 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/1.143, allocations: 2.438 kB / 1.408 GB, free: 1.398 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/1.143, allocations: 25.95 kB / 1.408 GB, free: 1.371 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/1.143, allocations: 23.34 kB / 1.408 GB, free: 1.348 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.143, allocations: 5.469 kB / 1.408 GB, free: 1.344 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.086e-05/1.144, allocations: 49.59 kB / 1.408 GB, free: 1.301 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.144, allocations: 5 kB / 1.408 GB, free: 1.301 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.144, allocations: 1.281 kB / 1.408 GB, free: 1.301 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.144, allocations: 5.062 kB / 1.408 GB, free: 1.297 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/1.144, allocations: 4.688 kB / 1.408 GB, free: 1.297 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.144, allocations: 1.469 kB / 1.408 GB, free: 1.297 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/1.144, allocations: 0 / 1.408 GB, free: 1.297 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/1.144, allocations: 10.48 kB / 1.408 GB, free: 1.289 MB / 1.092 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.199e-05/1.144, allocations: 111.8 kB / 1.408 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/1.144, allocations: 1.469 kB / 1.408 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/1.144, allocations: 120.1 kB / 1.408 GB, free: 1.051 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-05/1.144, allocations: 181.8 kB / 1.409 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-05/1.144, allocations: 177.8 kB / 1.409 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.587e-05/1.144, allocations: 188.2 kB / 1.409 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/1.144, allocations: 404.7 kB / 1.409 GB, free: 48 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-05/1.144, allocations: 106.2 kB / 1.409 GB, free: 15.94 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/1.144, allocations: 109 kB / 1.409 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.546e-05/1.145, allocations: 181.4 kB / 1.41 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/1.145, allocations: 189.7 kB / 1.41 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.586e-05/1.145, allocations: 177.5 kB / 1.41 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.272e-05/1.145, allocations: 180.2 kB / 1.41 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/1.145, allocations: 319.9 kB / 1.41 GB, free: 14.75 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/1.145, allocations: 179.9 kB / 1.411 GB, free: 14.55 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.668e-05/1.145, allocations: 178.8 kB / 1.411 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/1.145, allocations: 114.2 kB / 1.411 GB, free: 14.26 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/1.145, allocations: 185.5 kB / 1.411 GB, free: 14.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/1.145, allocations: 106.3 kB / 1.411 GB, free: 13.96 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.172e-05/1.145, allocations: 88 kB / 1.411 GB, free: 13.88 MB / 1.107 GB Notification: Performance of sort global known variables: time 9.1e-08/1.145, allocations: 0 / 1.411 GB, free: 13.88 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003276/1.146, allocations: 61.39 kB / 1.411 GB, free: 13.86 MB / 1.107 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.000344/1.146, allocations: 250.6 kB / 1.412 GB, free: 13.66 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.776e-05/1.146, allocations: 10.16 kB / 1.412 GB, free: 13.65 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.146, allocations: 0 / 1.412 GB, free: 13.65 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/1.146, allocations: 0 / 1.412 GB, free: 13.65 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/1.147, allocations: 465.3 kB / 1.412 GB, free: 13.2 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/1.147, allocations: 208.1 kB / 1.412 GB, free: 12.98 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/1.147, allocations: 0.6755 MB / 1.413 GB, free: 12.29 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/1.147, allocations: 9.969 kB / 1.413 GB, free: 12.28 MB / 1.107 GB Notification: Performance of SimCode: time 4.2e-07/1.147, allocations: 0 / 1.413 GB, free: 12.28 MB / 1.107 GB Notification: Performance of Templates: time 0.003026/1.15, allocations: 1.235 MB / 1.414 GB, free: 11.64 MB / 1.107 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches