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.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.001682/0.001682, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001987/0.001987, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.65/1.65, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [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.002348/0.002348, allocations: 63.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.947, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1833/1.13, allocations: 138.6 MB / 1.414 GB, free: 1.379 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001918/1.13, allocations: 55.78 kB / 1.414 GB, free: 1.324 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/1.13, allocations: 0 / 1.414 GB, free: 1.324 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/1.131, allocations: 0 / 1.414 GB, free: 1.324 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/1.131, allocations: 19.91 kB / 1.414 GB, free: 1.305 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/1.132, allocations: 238.9 kB / 1.415 GB, free: 1.07 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.842e-05/1.132, allocations: 39.84 kB / 1.415 GB, free: 1.031 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/1.132, allocations: 3.984 kB / 1.415 GB, free: 1.027 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/1.132, allocations: 12 kB / 1.415 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/1.132, allocations: 19.91 kB / 1.415 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/1.132, allocations: 0 / 1.415 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/1.132, allocations: 255.4 kB / 1.415 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/1.132, allocations: 7.984 kB / 1.415 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/1.132, allocations: 11.92 kB / 1.415 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003669/1.133, allocations: 181.4 kB / 1.415 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.133, allocations: 4 kB / 1.415 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.413e-06/1.133, allocations: 0 / 1.415 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.133, allocations: 0 / 1.415 GB, free: 0.5469 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.0004588/1.133, allocations: 363.1 kB / 1.415 GB, free: 148 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/1.133, allocations: 8.031 kB / 1.415 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.071e-05/1.133, allocations: 192 / 1.415 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/1.133, allocations: 38.75 kB / 1.416 GB, free: 92 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/1.133, allocations: 8.875 kB / 1.416 GB, free: 84 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/1.134, allocations: 164.4 kB / 1.416 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/1.134, allocations: 33.83 kB / 1.416 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/1.134, allocations: 0 / 1.416 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/1.134, allocations: 53.61 kB / 1.416 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.134, allocations: 0 / 1.416 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.134, allocations: 0 / 1.416 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/1.134, allocations: 4 kB / 1.416 GB, free: 15.78 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.481e-05/1.134, allocations: 11.98 kB / 1.416 GB, free: 15.77 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008394/1.135, allocations: 0.6028 MB / 1.416 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/1.135, allocations: 22.58 kB / 1.416 GB, free: 15.01 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/1.135, allocations: 4.859 kB / 1.416 GB, free: 15 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/1.135, allocations: 336.4 kB / 1.417 GB, free: 14.6 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/1.135, allocations: 34.56 kB / 1.417 GB, free: 14.56 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.135, allocations: 0 / 1.417 GB, free: 14.56 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001538/1.135, allocations: 37.69 kB / 1.417 GB, free: 14.52 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.135, allocations: 51.41 kB / 1.417 GB, free: 14.45 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/1.135, allocations: 113.9 kB / 1.417 GB, free: 14.33 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/1.135, allocations: 25.7 kB / 1.417 GB, free: 14.3 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/1.135, allocations: 84.09 kB / 1.417 GB, free: 14.21 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/1.135, allocations: 7.953 kB / 1.417 GB, free: 14.21 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/1.135, allocations: 13.72 kB / 1.417 GB, free: 14.19 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.136, allocations: 318.8 kB / 1.417 GB, free: 13.87 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/1.136, allocations: 0 / 1.417 GB, free: 13.87 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/1.136, allocations: 17.66 kB / 1.417 GB, free: 13.84 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/1.136, allocations: 29.66 kB / 1.417 GB, free: 13.81 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/1.136, allocations: 0 / 1.417 GB, free: 13.81 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.107e-05/1.136, allocations: 49.62 kB / 1.417 GB, free: 13.75 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.136, allocations: 8 kB / 1.417 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.136, allocations: 3.938 kB / 1.417 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.136, allocations: 0 / 1.417 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/1.136, allocations: 7.984 kB / 1.417 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.136, allocations: 4.062 kB / 1.417 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/1.136, allocations: 7.938 kB / 1.417 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/1.136, allocations: 0 / 1.417 GB, free: 13.72 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 7.903e-05/1.136, allocations: 112 kB / 1.418 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/1.136, allocations: 3.953 kB / 1.418 GB, free: 13.6 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/1.136, allocations: 124.9 kB / 1.418 GB, free: 13.47 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/1.136, allocations: 180.3 kB / 1.418 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.159e-05/1.136, allocations: 180.2 kB / 1.418 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-05/1.136, allocations: 184.2 kB / 1.418 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/1.137, allocations: 401.2 kB / 1.419 GB, free: 12.46 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.957e-05/1.137, allocations: 112.9 kB / 1.419 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/1.137, allocations: 105 kB / 1.419 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.551e-05/1.137, allocations: 188.5 kB / 1.419 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/1.137, allocations: 176.3 kB / 1.419 GB, free: 11.87 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-05/1.137, allocations: 180.3 kB / 1.419 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.986e-05/1.137, allocations: 180.2 kB / 1.42 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/1.137, allocations: 319.9 kB / 1.42 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/1.137, allocations: 178.1 kB / 1.42 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/1.137, allocations: 188.2 kB / 1.42 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/1.137, allocations: 108.9 kB / 1.42 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/1.137, allocations: 184.2 kB / 1.42 GB, free: 10.47 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/1.138, allocations: 112.9 kB / 1.421 GB, free: 10.36 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.332e-05/1.138, allocations: 87.27 kB / 1.421 GB, free: 10.27 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.138, allocations: 0 / 1.421 GB, free: 10.27 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003506/1.138, allocations: 51.81 kB / 1.421 GB, free: 10.22 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.0006599/1.139, allocations: 0.8793 MB / 1.422 GB, free: 9.309 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/1.139, allocations: 15.88 kB / 1.422 GB, free: 9.293 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.139, allocations: 0 / 1.422 GB, free: 9.293 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.139, allocations: 0 / 1.422 GB, free: 9.293 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/1.139, allocations: 470.3 kB / 1.422 GB, free: 8.832 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.14, allocations: 1.351 MB / 1.423 GB, free: 7.395 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.141, allocations: 0.6768 MB / 1.424 GB, free: 6.691 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.292e-05/1.141, allocations: 11.94 kB / 1.424 GB, free: 6.68 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/1.141, allocations: 11.44 kB / 1.424 GB, free: 6.668 MB / 1.107 GB Notification: Performance of SimCode: time 3.11e-07/1.141, allocations: 4 kB / 1.424 GB, free: 6.664 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/1.159, allocations: 2.25 MB / 1.426 GB, free: 4.531 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/9.695, allocations: 26.09 kB / 1.426 GB, free: 4.512 MB / 1.107 GB " [Timeout remaining time 290] (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/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: 16.15792078198865]