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.001747/0.001747, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002408/0.002408, allocations: 218.2 kB / 23.04 MB, free: 5.07 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.654/1.654, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.844/2.844, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 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.00213/0.00213, allocations: 64.61 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 170 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1635/0.4947, allocations: 138.7 MB / 1.42 GB, free: 392 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.4949, allocations: 55.83 kB / 1.42 GB, free: 336 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.4949, allocations: 0 / 1.42 GB, free: 336 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.495, allocations: 0 / 1.42 GB, free: 336 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.4951, allocations: 15.92 kB / 1.42 GB, free: 320 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008696/0.496, allocations: 247 kB / 1.42 GB, free: 72 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.4961, allocations: 39.84 kB / 1.42 GB, free: 32 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.4961, allocations: 0 / 1.42 GB, free: 32 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.4961, allocations: 15.92 kB / 1.42 GB, free: 16 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.4962, allocations: 15.98 kB / 1.42 GB, free: 0 / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.4962, allocations: 0 / 1.42 GB, free: 0 / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.4968, allocations: 267.5 kB / 1.42 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.4968, allocations: 4 kB / 1.42 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.4969, allocations: 11.83 kB / 1.42 GB, free: 15.72 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.4973, allocations: 195 kB / 1.42 GB, free: 15.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4973, allocations: 0 / 1.42 GB, free: 15.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4973, allocations: 0 / 1.42 GB, free: 15.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.4973, allocations: 0 / 1.42 GB, free: 15.54 MB / 1.123 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.0004503/0.4978, allocations: 286 kB / 1.421 GB, free: 15.23 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4978, allocations: 12.03 kB / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.39e-05/0.4978, allocations: 192 / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.4978, allocations: 34.75 kB / 1.421 GB, free: 15.17 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.4979, allocations: 4.938 kB / 1.421 GB, free: 15.17 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.498, allocations: 106.5 kB / 1.421 GB, free: 15.04 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.938e-05/0.4981, allocations: 59.47 kB / 1.421 GB, free: 14.97 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.4981, allocations: 0 / 1.421 GB, free: 14.97 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.4982, allocations: 45.69 kB / 1.421 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4982, allocations: 0 / 1.421 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4982, allocations: 0 / 1.421 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4983, allocations: 3.984 kB / 1.421 GB, free: 14.91 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.4983, allocations: 12 kB / 1.421 GB, free: 14.9 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.499, allocations: 279.9 kB / 1.421 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.4991, allocations: 26.45 kB / 1.421 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.4991, allocations: 4.859 kB / 1.421 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-05/0.4992, allocations: 32.03 kB / 1.421 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4992, allocations: 38.56 kB / 1.421 GB, free: 14.46 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4992, allocations: 4 kB / 1.421 GB, free: 14.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.4994, allocations: 29.7 kB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4994, allocations: 55.34 kB / 1.421 GB, free: 14.36 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4995, allocations: 113.7 kB / 1.421 GB, free: 14.24 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.4995, allocations: 29.64 kB / 1.421 GB, free: 14.2 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.4996, allocations: 88.03 kB / 1.422 GB, free: 14.11 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-06/0.4996, allocations: 0 / 1.422 GB, free: 14.11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.4996, allocations: 25.83 kB / 1.422 GB, free: 14.08 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4998, allocations: 314.8 kB / 1.422 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.4998, allocations: 0 / 1.422 GB, free: 13.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.4998, allocations: 21.7 kB / 1.422 GB, free: 13.74 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.4999, allocations: 17.72 kB / 1.422 GB, free: 13.71 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4999, allocations: 0 / 1.422 GB, free: 13.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.735e-05/0.4999, allocations: 53.62 kB / 1.422 GB, free: 13.66 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5, allocations: 4 kB / 1.422 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5, allocations: 4 kB / 1.422 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5, allocations: 0 / 1.422 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.5, allocations: 4 kB / 1.422 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5, allocations: 0 / 1.422 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.5001, allocations: 11.89 kB / 1.422 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.5001, allocations: 4 kB / 1.422 GB, free: 13.63 MB / 1.123 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.444e-05/0.5002, allocations: 113.8 kB / 1.422 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.5002, allocations: 7.984 kB / 1.422 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.5003, allocations: 113 kB / 1.422 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.777e-05/0.5004, allocations: 180.5 kB / 1.422 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.843e-05/0.5005, allocations: 180.2 kB / 1.423 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.933e-05/0.5006, allocations: 184.2 kB / 1.423 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.5008, allocations: 384.2 kB / 1.423 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.64e-05/0.5009, allocations: 105 kB / 1.423 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.5009, allocations: 108.9 kB / 1.423 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/0.501, allocations: 176.3 kB / 1.423 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.5011, allocations: 176.3 kB / 1.424 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.224e-05/0.5011, allocations: 192.1 kB / 1.424 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-05/0.5012, allocations: 184.2 kB / 1.424 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.5014, allocations: 307.9 kB / 1.424 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.5014, allocations: 101 kB / 1.424 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5015, allocations: 196.2 kB / 1.425 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5017, allocations: 105 kB / 1.425 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.5018, allocations: 188.1 kB / 1.425 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.5018, allocations: 101 kB / 1.425 GB, free: 10.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.5019, allocations: 91.27 kB / 1.425 GB, free: 10.31 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5019, allocations: 0 / 1.425 GB, free: 10.31 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003252/0.5022, allocations: 55.73 kB / 1.425 GB, free: 10.25 MB / 1.123 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.0006719/0.5029, allocations: 0.8865 MB / 1.426 GB, free: 9.336 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.5029, allocations: 15.94 kB / 1.426 GB, free: 9.32 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5029, allocations: 0 / 1.426 GB, free: 9.32 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.5029, allocations: 0 / 1.426 GB, free: 9.32 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.5034, allocations: 465.2 kB / 1.426 GB, free: 8.863 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.5048, allocations: 1.348 MB / 1.428 GB, free: 7.426 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5051, allocations: 0.6729 MB / 1.428 GB, free: 6.727 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.5052, allocations: 8 kB / 1.428 GB, free: 6.719 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.5052, allocations: 7.438 kB / 1.428 GB, free: 6.711 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/0.5052, allocations: 0 / 1.428 GB, free: 6.711 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.528, allocations: 2.356 MB / 1.431 GB, free: 4.508 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.09, allocations: 6.234 kB / 1.431 GB, free: 4.508 MB / 1.123 GB " [Timeout remaining time 287] (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: 19.077407048025634]