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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 189.2 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.833/2.833, allocations: 443.4 MB / 0.7321 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 59.89 kB / 1.061 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 160.8 MB / 1.218 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2083/1.263, allocations: 135.8 MB / 1.351 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002067/1.263, allocations: 51.86 kB / 1.351 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/1.263, allocations: 0 / 1.351 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/1.264, allocations: 7.938 kB / 1.351 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/1.264, allocations: 15.91 kB / 1.351 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/1.265, allocations: 242.5 kB / 1.351 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000129/1.265, allocations: 39.78 kB / 1.351 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/1.265, allocations: 7.984 kB / 1.351 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/1.265, allocations: 19.98 kB / 1.351 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/1.265, allocations: 11.92 kB / 1.351 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/1.265, allocations: 4 kB / 1.351 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/1.266, allocations: 251.4 kB / 1.352 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/1.266, allocations: 15.92 kB / 1.352 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/1.266, allocations: 7.984 kB / 1.352 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000508/1.267, allocations: 181.9 kB / 1.352 GB, free: 14.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.267, allocations: 0 / 1.352 GB, free: 14.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 6.372e-06/1.267, allocations: 3.984 kB / 1.352 GB, free: 14.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.267, allocations: 4 kB / 1.352 GB, free: 14.11 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.0006029/1.267, allocations: 363.2 kB / 1.352 GB, free: 13.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.267, allocations: 8.031 kB / 1.352 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/1.267, allocations: 0.9375 kB / 1.352 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/1.267, allocations: 176.3 kB / 1.352 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/1.268, allocations: 30.27 kB / 1.352 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/1.268, allocations: 3.938 kB / 1.352 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/1.268, allocations: 37.69 kB / 1.352 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.268, allocations: 7.984 kB / 1.352 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.268, allocations: 4 kB / 1.352 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/1.268, allocations: 0 / 1.352 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/1.268, allocations: 15.98 kB / 1.353 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/1.269, allocations: 0.6066 MB / 1.353 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/1.269, allocations: 18.52 kB / 1.353 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/1.269, allocations: 8.859 kB / 1.353 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/1.269, allocations: 344.4 kB / 1.353 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.269, allocations: 30.56 kB / 1.353 GB, free: 12.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/1.269, allocations: 0 / 1.353 GB, free: 12.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001931/1.269, allocations: 37.69 kB / 1.354 GB, free: 12.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/1.27, allocations: 55.34 kB / 1.354 GB, free: 12.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/1.27, allocations: 97.86 kB / 1.354 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.27, allocations: 29.7 kB / 1.354 GB, free: 11.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/1.27, allocations: 96.2 kB / 1.354 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-06/1.27, allocations: 0 / 1.354 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/1.27, allocations: 13.72 kB / 1.354 GB, free: 11.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.27, allocations: 314.8 kB / 1.354 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/1.27, allocations: 11.98 kB / 1.354 GB, free: 11.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/1.27, allocations: 17.72 kB / 1.354 GB, free: 11.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/1.27, allocations: 21.72 kB / 1.354 GB, free: 11.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.27, allocations: 4 kB / 1.354 GB, free: 11.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.102e-05/1.27, allocations: 53.58 kB / 1.354 GB, free: 11.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.27, allocations: 4 kB / 1.354 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.27, allocations: 0 / 1.354 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.27, allocations: 4 kB / 1.354 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/1.27, allocations: 4 kB / 1.354 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.27, allocations: 0 / 1.354 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/1.27, allocations: 3.984 kB / 1.354 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.27, allocations: 12 kB / 1.354 GB, free: 11.33 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 0.0001067/1.27, allocations: 117.7 kB / 1.354 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/1.27, allocations: 0 / 1.354 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/1.271, allocations: 117 kB / 1.354 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/1.271, allocations: 188.2 kB / 1.355 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.674e-05/1.271, allocations: 180.3 kB / 1.355 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.543e-05/1.271, allocations: 176.3 kB / 1.355 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/1.271, allocations: 413.1 kB / 1.355 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.135e-05/1.271, allocations: 101 kB / 1.355 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/1.271, allocations: 104.9 kB / 1.356 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/1.271, allocations: 184.2 kB / 1.356 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.271, allocations: 184.2 kB / 1.356 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001032/1.272, allocations: 188.2 kB / 1.356 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.23e-05/1.272, allocations: 176.3 kB / 1.356 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/1.272, allocations: 307.7 kB / 1.357 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/1.272, allocations: 194.3 kB / 1.357 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.272, allocations: 180.2 kB / 1.357 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.272, allocations: 117 kB / 1.357 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/1.272, allocations: 180.2 kB / 1.357 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/1.272, allocations: 101 kB / 1.357 GB, free: 7.969 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.323e-05/1.273, allocations: 95.16 kB / 1.357 GB, free: 7.875 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.273, allocations: 4 kB / 1.357 GB, free: 7.871 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003379/1.273, allocations: 55.73 kB / 1.357 GB, free: 7.816 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.0003822/1.273, allocations: 258.5 kB / 1.358 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.306e-05/1.273, allocations: 11.94 kB / 1.358 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.273, allocations: 0 / 1.358 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/1.273, allocations: 0 / 1.358 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/1.274, allocations: 462.5 kB / 1.358 GB, free: 7.086 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/1.274, allocations: 186.4 kB / 1.358 GB, free: 6.875 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/1.275, allocations: 0.6768 MB / 1.359 GB, free: 6.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.165e-05/1.275, allocations: 4 kB / 1.359 GB, free: 6.168 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/1.275, allocations: 11.38 kB / 1.359 GB, free: 6.16 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/1.275, allocations: 0 / 1.359 GB, free: 6.16 MB / 1.061 GB Notification: Performance of Templates: time 0.004565/1.279, allocations: 1.308 MB / 1.36 GB, free: 4.855 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 9.32198316603899]