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.001708/0.001708, allocations: 114 kB / 17.6 MB, free: 4.699 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.002033/0.002033, allocations: 186.7 kB / 20.78 MB, free: 1.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.526/1.526, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.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.769/2.769, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 176] 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.002067/0.002067, allocations: 63.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1735/1.188, allocations: 135.8 MB / 1.404 GB, free: 4.238 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001784/1.188, allocations: 55.86 kB / 1.404 GB, free: 4.195 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/1.188, allocations: 0 / 1.404 GB, free: 4.195 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/1.188, allocations: 3.938 kB / 1.404 GB, free: 4.191 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/1.188, allocations: 10.47 kB / 1.404 GB, free: 4.184 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/1.189, allocations: 247.1 kB / 1.404 GB, free: 4.012 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.545e-05/1.19, allocations: 29.3 kB / 1.404 GB, free: 4 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/1.19, allocations: 9.125 kB / 1.404 GB, free: 3.992 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/1.19, allocations: 16.59 kB / 1.404 GB, free: 3.984 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/1.19, allocations: 14.58 kB / 1.404 GB, free: 3.977 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/1.19, allocations: 1.438 kB / 1.404 GB, free: 3.977 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/1.19, allocations: 246.6 kB / 1.405 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/1.19, allocations: 11.27 kB / 1.405 GB, free: 3.824 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/1.19, allocations: 12.53 kB / 1.405 GB, free: 3.816 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004206/1.191, allocations: 194.2 kB / 1.405 GB, free: 3.719 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.191, allocations: 1.438 kB / 1.405 GB, free: 3.719 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.503e-06/1.191, allocations: 0 / 1.405 GB, free: 3.719 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.191, allocations: 0 / 1.405 GB, free: 3.719 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.000492/1.191, allocations: 355.2 kB / 1.405 GB, free: 3.344 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.191, allocations: 8.781 kB / 1.405 GB, free: 3.344 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/1.191, allocations: 31.94 kB / 1.405 GB, free: 3.305 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/1.191, allocations: 9.969 kB / 1.405 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/1.191, allocations: 177.7 kB / 1.405 GB, free: 3.086 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/1.192, allocations: 31.14 kB / 1.406 GB, free: 3.051 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/1.192, allocations: 1.188 kB / 1.406 GB, free: 3.051 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.192, allocations: 43.5 kB / 1.406 GB, free: 3.012 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.192, allocations: 0 / 1.406 GB, free: 3.012 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.192, allocations: 5.391 kB / 1.406 GB, free: 3.008 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/1.192, allocations: 0 / 1.406 GB, free: 3.008 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/1.192, allocations: 17.7 kB / 1.406 GB, free: 3 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/1.193, allocations: 0.6005 MB / 1.406 GB, free: 2.316 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/1.193, allocations: 20.23 kB / 1.406 GB, free: 2.289 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/1.193, allocations: 6.203 kB / 1.406 GB, free: 2.281 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/1.193, allocations: 341.1 kB / 1.407 GB, free: 1.887 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.193, allocations: 36.09 kB / 1.407 GB, free: 1.844 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.193, allocations: 0 / 1.407 GB, free: 1.844 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001633/1.193, allocations: 40.22 kB / 1.407 GB, free: 1.805 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/1.193, allocations: 51.41 kB / 1.407 GB, free: 1.742 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/1.193, allocations: 104.4 kB / 1.407 GB, free: 1.637 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/1.193, allocations: 25.7 kB / 1.407 GB, free: 1.605 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/1.193, allocations: 89.48 kB / 1.407 GB, free: 1.516 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-06/1.193, allocations: 5.234 kB / 1.407 GB, free: 1.512 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/1.193, allocations: 21.84 kB / 1.407 GB, free: 1.488 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.194, allocations: 318.8 kB / 1.407 GB, free: 1.168 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/1.194, allocations: 2.688 kB / 1.407 GB, free: 1.168 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/1.194, allocations: 21.81 kB / 1.407 GB, free: 1.145 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/1.194, allocations: 21.16 kB / 1.407 GB, free: 1.125 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.194, allocations: 0 / 1.407 GB, free: 1.125 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.702e-05/1.194, allocations: 50.09 kB / 1.407 GB, free: 1.082 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.194, allocations: 5.219 kB / 1.407 GB, free: 1.082 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.194, allocations: 1.25 kB / 1.407 GB, free: 1.082 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.194, allocations: 0 / 1.407 GB, free: 1.082 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/1.194, allocations: 9.266 kB / 1.407 GB, free: 1.078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.194, allocations: 1.406 kB / 1.407 GB, free: 1.078 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/1.194, allocations: 9.188 kB / 1.407 GB, free: 1.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/1.194, allocations: 5.125 kB / 1.407 GB, free: 1.066 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 9.433e-05/1.194, allocations: 108.5 kB / 1.407 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/1.194, allocations: 5.469 kB / 1.407 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/1.194, allocations: 115.9 kB / 1.408 GB, free: 0.832 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.05e-05/1.194, allocations: 184.2 kB / 1.408 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/1.194, allocations: 177.2 kB / 1.408 GB, free: 476 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.203e-05/1.194, allocations: 182.2 kB / 1.408 GB, free: 288 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/1.195, allocations: 411.5 kB / 1.408 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/1.195, allocations: 106.5 kB / 1.409 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/1.195, allocations: 108.9 kB / 1.409 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.566e-05/1.195, allocations: 177.7 kB / 1.409 GB, free: 15.42 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.341e-05/1.195, allocations: 177.7 kB / 1.409 GB, free: 15.24 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.617e-05/1.195, allocations: 185.5 kB / 1.409 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-05/1.195, allocations: 176.3 kB / 1.409 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/1.195, allocations: 324 kB / 1.41 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/1.195, allocations: 179.5 kB / 1.41 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/1.195, allocations: 190.9 kB / 1.41 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/1.195, allocations: 119.7 kB / 1.41 GB, free: 14.03 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.196, allocations: 180.2 kB / 1.41 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/1.196, allocations: 106.3 kB / 1.41 GB, free: 13.73 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.458e-05/1.196, allocations: 87.86 kB / 1.41 GB, free: 13.65 MB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/1.196, allocations: 1.5 kB / 1.41 GB, free: 13.65 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003568/1.196, allocations: 47.72 kB / 1.411 GB, free: 13.64 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.0007321/1.197, allocations: 0.8884 MB / 1.411 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/1.197, allocations: 13.8 kB / 1.411 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.197, allocations: 0 / 1.411 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/1.197, allocations: 1.188 kB / 1.411 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/1.197, allocations: 462.5 kB / 1.412 GB, free: 12.32 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/1.199, allocations: 1.347 MB / 1.413 GB, free: 10.96 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/1.199, allocations: 0.6766 MB / 1.414 GB, free: 10.26 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.281e-05/1.199, allocations: 8.469 kB / 1.414 GB, free: 10.26 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/1.199, allocations: 8.594 kB / 1.414 GB, free: 10.25 MB / 1.107 GB Notification: Performance of SimCode: time 3.8e-07/1.199, allocations: 0 / 1.414 GB, free: 10.25 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/1.223, allocations: 2.206 MB / 1.416 GB, free: 9.027 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/9.067, allocations: 7.484 kB / 1.416 GB, free: 9.023 MB / 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 --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.223702871997375]