Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001671/0.001671, allocations: 107 kB / 18.19 MB, free: 3.879 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.001908/0.001908, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.424/1.424, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 443.5 MB / 0.731 GB, free: 12.73 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.89 kB / 1.06 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7489, allocations: 160.7 MB / 1.217 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.171/0.9198, allocations: 135.8 MB / 1.349 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.9201, allocations: 59.84 kB / 1.349 GB, free: 15.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.9201, allocations: 0 / 1.349 GB, free: 15.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.9202, allocations: 7.938 kB / 1.349 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.702e-05/0.9203, allocations: 11.97 kB / 1.349 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009216/0.9212, allocations: 240.4 kB / 1.349 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.9213, allocations: 39.83 kB / 1.349 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.9214, allocations: 3.828 kB / 1.349 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.9214, allocations: 12 kB / 1.349 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.9215, allocations: 15.97 kB / 1.349 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.9215, allocations: 4 kB / 1.349 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000543/0.922, allocations: 251.4 kB / 1.35 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.9221, allocations: 7.922 kB / 1.35 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.9221, allocations: 4 kB / 1.35 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.9225, allocations: 197.9 kB / 1.35 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9225, allocations: 0 / 1.35 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9225, allocations: 0 / 1.35 GB, free: 14.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.9225, allocations: 0 / 1.35 GB, free: 14.66 MB / 1.061 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.0004788/0.923, allocations: 363.2 kB / 1.35 GB, free: 14.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.923, allocations: 8.922 kB / 1.35 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.923, allocations: 8.922 kB / 1.35 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.9232, allocations: 160.4 kB / 1.35 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.9233, allocations: 26.27 kB / 1.35 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.9233, allocations: 15.88 kB / 1.35 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.9234, allocations: 37.69 kB / 1.351 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.9234, allocations: 3.984 kB / 1.351 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.9234, allocations: 4 kB / 1.351 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.9234, allocations: 0 / 1.351 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.9235, allocations: 15.98 kB / 1.351 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.9244, allocations: 0.6105 MB / 1.351 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.9245, allocations: 22.52 kB / 1.351 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.9245, allocations: 12.86 kB / 1.351 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.9248, allocations: 332.4 kB / 1.351 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.9248, allocations: 30.56 kB / 1.352 GB, free: 12.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.9248, allocations: 0 / 1.352 GB, free: 12.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.925, allocations: 37.69 kB / 1.352 GB, free: 12.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.925, allocations: 59.53 kB / 1.352 GB, free: 12.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9251, allocations: 105.8 kB / 1.352 GB, free: 12.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.9252, allocations: 29.64 kB / 1.352 GB, free: 12.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.9252, allocations: 88.09 kB / 1.352 GB, free: 12.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.9252, allocations: 0 / 1.352 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.9253, allocations: 13.72 kB / 1.352 GB, free: 12.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9254, allocations: 322.8 kB / 1.352 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.9255, allocations: 4 kB / 1.352 GB, free: 12.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.9255, allocations: 17.72 kB / 1.352 GB, free: 11.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.9255, allocations: 21.72 kB / 1.352 GB, free: 11.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9255, allocations: 0 / 1.352 GB, free: 11.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.625e-05/0.9256, allocations: 53.58 kB / 1.352 GB, free: 11.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.9256, allocations: 4 kB / 1.352 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9257, allocations: 4 kB / 1.352 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.9257, allocations: 4.062 kB / 1.352 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.9257, allocations: 7.984 kB / 1.352 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9257, allocations: 0 / 1.352 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.9257, allocations: 0 / 1.352 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.9257, allocations: 7.938 kB / 1.352 GB, free: 11.88 MB / 1.061 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.598e-05/0.9258, allocations: 109.8 kB / 1.352 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.9259, allocations: 4 kB / 1.352 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.926, allocations: 125 kB / 1.352 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.269e-05/0.9261, allocations: 176.3 kB / 1.353 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.897e-05/0.9262, allocations: 180.2 kB / 1.353 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/0.9263, allocations: 176.3 kB / 1.353 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.9266, allocations: 413.1 kB / 1.353 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/0.9266, allocations: 101 kB / 1.353 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.9266, allocations: 109 kB / 1.354 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/0.9267, allocations: 188.2 kB / 1.354 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-05/0.9268, allocations: 180.3 kB / 1.354 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-05/0.9269, allocations: 180.2 kB / 1.354 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.596e-05/0.927, allocations: 184.2 kB / 1.354 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.9271, allocations: 315.7 kB / 1.355 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.9272, allocations: 182.3 kB / 1.355 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.9273, allocations: 180.2 kB / 1.355 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.9275, allocations: 113 kB / 1.355 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.9275, allocations: 184.2 kB / 1.355 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.9276, allocations: 105 kB / 1.355 GB, free: 8.523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.9276, allocations: 95.2 kB / 1.355 GB, free: 8.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9276, allocations: 0 / 1.355 GB, free: 8.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003298/0.928, allocations: 55.75 kB / 1.355 GB, free: 8.375 MB / 1.061 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.0003412/0.9283, allocations: 254.5 kB / 1.356 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.314e-05/0.9284, allocations: 11.94 kB / 1.356 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9284, allocations: 0 / 1.356 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.9284, allocations: 3.938 kB / 1.356 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.9288, allocations: 467.8 kB / 1.356 GB, free: 7.637 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.9292, allocations: 211.7 kB / 1.356 GB, free: 7.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.9295, allocations: 0.669 MB / 1.357 GB, free: 6.703 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.9295, allocations: 11.44 kB / 1.357 GB, free: 6.691 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9295, allocations: 0 / 1.357 GB, free: 6.691 MB / 1.061 GB Notification: Performance of Templates: time 0.003238/0.9328, allocations: 1.236 MB / 1.358 GB, free: 5.457 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches