Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001423/0.001423, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00157/0.00157, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.008/3.008, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",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.001928/0.001928, allocations: 73.62 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3058, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1388/0.4447, allocations: 119 MB / 1.48 GB, free: 6.621 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001527/0.4448, allocations: 59.86 kB / 1.48 GB, free: 6.562 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.4449, allocations: 0 / 1.48 GB, free: 6.562 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.445, allocations: 7.938 kB / 1.48 GB, free: 6.555 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.445, allocations: 11.86 kB / 1.48 GB, free: 6.543 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.4458, allocations: 243 kB / 1.48 GB, free: 6.305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.4459, allocations: 35.91 kB / 1.48 GB, free: 6.27 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.4459, allocations: 0 / 1.48 GB, free: 6.27 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.446, allocations: 23.92 kB / 1.48 GB, free: 6.246 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.446, allocations: 7.984 kB / 1.48 GB, free: 6.238 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.446, allocations: 3.938 kB / 1.48 GB, free: 6.234 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.4464, allocations: 179.5 kB / 1.48 GB, free: 6.059 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.4464, allocations: 0 / 1.48 GB, free: 6.059 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.4464, allocations: 15.98 kB / 1.48 GB, free: 6.043 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.4467, allocations: 171.8 kB / 1.48 GB, free: 5.875 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4467, allocations: 0 / 1.48 GB, free: 5.875 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4467, allocations: 0 / 1.48 GB, free: 5.875 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.4468, allocations: 0 / 1.48 GB, free: 5.875 MB / 1.17 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.0003636/0.4471, allocations: 286.1 kB / 1.481 GB, free: 5.566 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4471, allocations: 8.031 kB / 1.481 GB, free: 5.559 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.4472, allocations: 38.67 kB / 1.481 GB, free: 5.512 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.4472, allocations: 4.938 kB / 1.481 GB, free: 5.508 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.4473, allocations: 106.5 kB / 1.481 GB, free: 5.379 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.4474, allocations: 59.72 kB / 1.481 GB, free: 5.309 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.4474, allocations: 4 kB / 1.481 GB, free: 5.305 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.4475, allocations: 67.39 kB / 1.481 GB, free: 5.227 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4475, allocations: 4 kB / 1.481 GB, free: 5.223 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4475, allocations: 0 / 1.481 GB, free: 5.223 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4476, allocations: 4 kB / 1.481 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.4476, allocations: 19.97 kB / 1.481 GB, free: 5.199 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.4482, allocations: 279.8 kB / 1.481 GB, free: 4.883 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/0.4482, allocations: 18.58 kB / 1.481 GB, free: 4.855 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.4482, allocations: 8.922 kB / 1.481 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/0.4483, allocations: 31.97 kB / 1.481 GB, free: 4.812 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4483, allocations: 30.56 kB / 1.481 GB, free: 4.773 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4483, allocations: 0 / 1.481 GB, free: 4.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.4485, allocations: 37.64 kB / 1.481 GB, free: 4.73 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4485, allocations: 59.39 kB / 1.481 GB, free: 4.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.4486, allocations: 97.86 kB / 1.481 GB, free: 4.555 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4486, allocations: 25.7 kB / 1.481 GB, free: 4.523 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.4487, allocations: 92.03 kB / 1.482 GB, free: 4.43 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.4487, allocations: 12.06 kB / 1.482 GB, free: 4.418 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.4487, allocations: 13.72 kB / 1.482 GB, free: 4.398 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4488, allocations: 322.8 kB / 1.482 GB, free: 4.074 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.4489, allocations: 0 / 1.482 GB, free: 4.074 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.4489, allocations: 17.7 kB / 1.482 GB, free: 4.051 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.4489, allocations: 25.66 kB / 1.482 GB, free: 4.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4489, allocations: 0 / 1.482 GB, free: 4.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.769e-05/0.449, allocations: 49.69 kB / 1.482 GB, free: 3.965 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.449, allocations: 8.062 kB / 1.482 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.449, allocations: 0 / 1.482 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.449, allocations: 0 / 1.482 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.282e-05/0.4491, allocations: 7.938 kB / 1.482 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4491, allocations: 4 kB / 1.482 GB, free: 3.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.4491, allocations: 3.938 kB / 1.482 GB, free: 3.941 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4491, allocations: 0 / 1.482 GB, free: 3.941 MB / 1.17 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.707e-05/0.4492, allocations: 117.8 kB / 1.482 GB, free: 3.816 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.4492, allocations: 0 / 1.482 GB, free: 3.816 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.4493, allocations: 124.9 kB / 1.482 GB, free: 3.688 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.369e-05/0.4494, allocations: 188.2 kB / 1.482 GB, free: 3.496 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.175e-05/0.4494, allocations: 180.2 kB / 1.483 GB, free: 3.312 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.35e-05/0.4495, allocations: 184.1 kB / 1.483 GB, free: 3.125 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.4498, allocations: 376.3 kB / 1.483 GB, free: 2.707 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-05/0.4498, allocations: 105 kB / 1.483 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.4498, allocations: 108.9 kB / 1.483 GB, free: 2.484 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.032e-05/0.4499, allocations: 180.2 kB / 1.483 GB, free: 2.301 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.45, allocations: 184.2 kB / 1.484 GB, free: 2.113 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-05/0.4501, allocations: 180.3 kB / 1.484 GB, free: 1.93 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.718e-05/0.4501, allocations: 180.4 kB / 1.484 GB, free: 1.746 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.4503, allocations: 319.7 kB / 1.484 GB, free: 1.41 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.4503, allocations: 104.9 kB / 1.484 GB, free: 1.301 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/0.4504, allocations: 184.2 kB / 1.485 GB, free: 1.113 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.4506, allocations: 105 kB / 1.485 GB, free: 1.004 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.4506, allocations: 184.2 kB / 1.485 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.4507, allocations: 104.9 kB / 1.485 GB, free: 0.707 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.4507, allocations: 87.27 kB / 1.485 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.4507, allocations: 0 / 1.485 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003051/0.451, allocations: 59.75 kB / 1.485 GB, free: 0.5625 MB / 1.17 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.0005914/0.4516, allocations: 0.8907 MB / 1.486 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 5.917e-05/0.4517, allocations: 4 kB / 1.486 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4517, allocations: 0 / 1.486 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.4517, allocations: 3.938 kB / 1.486 GB, free: 15.63 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.4521, allocations: 471.8 kB / 1.486 GB, free: 15.17 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.4532, allocations: 1.34 MB / 1.488 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.4532, allocations: 59.34 kB / 1.488 GB, free: 13.66 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.4532, allocations: 4 kB / 1.488 GB, free: 13.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.4533, allocations: 15.38 kB / 1.488 GB, free: 13.64 MB / 1.186 GB Notification: Performance of SimCode: time 4.31e-07/0.4533, allocations: 0 / 1.488 GB, free: 13.64 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.4821, allocations: 2.758 MB / 1.49 GB, free: 11.01 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.943/10.43, allocations: 22.75 kB / 1.491 GB, free: 11 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.546564577147365]