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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.001417/0.001417, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7952, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1787/0.9739, allocations: 135.8 MB / 1.401 GB, free: 12.86 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.9741, allocations: 63.78 kB / 1.401 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.9741, allocations: 0 / 1.401 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.9742, allocations: 0 / 1.401 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.9743, allocations: 11.92 kB / 1.401 GB, free: 12.79 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.9753, allocations: 246.9 kB / 1.402 GB, free: 12.55 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.9754, allocations: 39.84 kB / 1.402 GB, free: 12.51 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.9755, allocations: 0 / 1.402 GB, free: 12.51 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.9755, allocations: 15.92 kB / 1.402 GB, free: 12.49 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.9756, allocations: 15.97 kB / 1.402 GB, free: 12.48 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.9756, allocations: 4 kB / 1.402 GB, free: 12.47 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.9761, allocations: 247.4 kB / 1.402 GB, free: 12.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.9761, allocations: 11.98 kB / 1.402 GB, free: 12.22 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.9762, allocations: 7.938 kB / 1.402 GB, free: 12.21 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.9766, allocations: 189.4 kB / 1.402 GB, free: 12.03 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9766, allocations: 0 / 1.402 GB, free: 12.03 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9766, allocations: 0 / 1.402 GB, free: 12.03 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9766, allocations: 0 / 1.402 GB, free: 12.03 MB / 1.107 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.0005272/0.9771, allocations: 359.2 kB / 1.402 GB, free: 11.63 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.9772, allocations: 16.03 kB / 1.402 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.9772, allocations: 34.69 kB / 1.403 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.9773, allocations: 4.938 kB / 1.403 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.9774, allocations: 168.4 kB / 1.403 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.9775, allocations: 30.02 kB / 1.403 GB, free: 11.33 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.9775, allocations: 0 / 1.403 GB, free: 11.33 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.9776, allocations: 49.61 kB / 1.403 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.9777, allocations: 0 / 1.403 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.9777, allocations: 0 / 1.403 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.9777, allocations: 4 kB / 1.403 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.9777, allocations: 19.98 kB / 1.403 GB, free: 11.25 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.9786, allocations: 0.5988 MB / 1.403 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.9787, allocations: 18.58 kB / 1.403 GB, free: 10.5 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.9787, allocations: 4.859 kB / 1.403 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.979, allocations: 344.5 kB / 1.404 GB, free: 10.08 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.979, allocations: 38.44 kB / 1.404 GB, free: 10.04 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.979, allocations: 0 / 1.404 GB, free: 10.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001692/0.9792, allocations: 37.69 kB / 1.404 GB, free: 9.992 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.9792, allocations: 51.41 kB / 1.404 GB, free: 9.93 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.9794, allocations: 97.86 kB / 1.404 GB, free: 9.824 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.9794, allocations: 29.7 kB / 1.404 GB, free: 9.789 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.9795, allocations: 96.2 kB / 1.404 GB, free: 9.691 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.9795, allocations: 0 / 1.404 GB, free: 9.691 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.9795, allocations: 17.67 kB / 1.404 GB, free: 9.668 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.9797, allocations: 318.8 kB / 1.404 GB, free: 9.348 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.9797, allocations: 7.984 kB / 1.404 GB, free: 9.34 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.9797, allocations: 17.66 kB / 1.404 GB, free: 9.316 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.9798, allocations: 25.72 kB / 1.404 GB, free: 9.285 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9798, allocations: 0 / 1.404 GB, free: 9.285 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.389e-05/0.9799, allocations: 49.62 kB / 1.404 GB, free: 9.23 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.9799, allocations: 4 kB / 1.404 GB, free: 9.227 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.9799, allocations: 0 / 1.404 GB, free: 9.227 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9799, allocations: 4 kB / 1.404 GB, free: 9.223 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.478e-05/0.98, allocations: 7.984 kB / 1.404 GB, free: 9.215 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.98, allocations: 0 / 1.404 GB, free: 9.215 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.98, allocations: 3.938 kB / 1.404 GB, free: 9.211 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.98, allocations: 8.062 kB / 1.404 GB, free: 9.203 MB / 1.107 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.00011/0.9801, allocations: 105.8 kB / 1.405 GB, free: 9.09 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.9802, allocations: 4 kB / 1.405 GB, free: 9.086 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.9803, allocations: 124.9 kB / 1.405 GB, free: 8.957 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-05/0.9804, allocations: 180.3 kB / 1.405 GB, free: 8.773 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.9805, allocations: 180.2 kB / 1.405 GB, free: 8.59 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.743e-05/0.9806, allocations: 184.2 kB / 1.405 GB, free: 8.402 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.9809, allocations: 409.2 kB / 1.406 GB, free: 7.945 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.86e-05/0.981, allocations: 104.9 kB / 1.406 GB, free: 7.836 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.9811, allocations: 101 kB / 1.406 GB, free: 7.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.9812, allocations: 192.2 kB / 1.406 GB, free: 7.535 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/0.9813, allocations: 180.3 kB / 1.406 GB, free: 7.352 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-05/0.9814, allocations: 180.3 kB / 1.406 GB, free: 7.168 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.963e-05/0.9815, allocations: 180.2 kB / 1.407 GB, free: 6.984 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.9817, allocations: 311.6 kB / 1.407 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.9818, allocations: 190.3 kB / 1.407 GB, free: 6.445 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.9819, allocations: 184.2 kB / 1.407 GB, free: 6.258 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.9821, allocations: 116.9 kB / 1.407 GB, free: 6.137 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.9822, allocations: 176.3 kB / 1.407 GB, free: 5.957 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.9822, allocations: 109.1 kB / 1.408 GB, free: 5.844 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.9823, allocations: 87.28 kB / 1.408 GB, free: 5.758 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9823, allocations: 0 / 1.408 GB, free: 5.758 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004089/0.9827, allocations: 59.8 kB / 1.408 GB, free: 5.699 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.000807/0.9835, allocations: 0.8793 MB / 1.409 GB, free: 4.789 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.755e-05/0.9836, allocations: 11.92 kB / 1.409 GB, free: 4.777 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9836, allocations: 4 kB / 1.409 GB, free: 4.773 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.9836, allocations: 0 / 1.409 GB, free: 4.773 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.9841, allocations: 467.8 kB / 1.409 GB, free: 4.312 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.9855, allocations: 1.34 MB / 1.41 GB, free: 2.887 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.9858, allocations: 0.6767 MB / 1.411 GB, free: 2.184 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.082e-05/0.9859, allocations: 7.984 kB / 1.411 GB, free: 2.176 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.9859, allocations: 19.38 kB / 1.411 GB, free: 2.156 MB / 1.107 GB Notification: Performance of SimCode: time 3.81e-07/0.9859, allocations: 0 / 1.411 GB, free: 2.156 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/1.014, allocations: 2.226 MB / 1.413 GB, free: 32 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/9.216, allocations: 12.58 kB / 1.413 GB, free: 20 kB / 1.107 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] 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_2/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 [Calling sys.exit(0), Time elapsed: 15.136441870126873]