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.001309/0.001309, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001845/0.001845, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8583/0.8583, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.746/1.746, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.091e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5491/0.5492, allocations: 119 MB / 1.116 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.5493, allocations: 54.62 kB / 1.116 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.5493, allocations: 0 / 1.116 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.5495, allocations: 1.969 kB / 1.116 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.5496, allocations: 21.39 kB / 1.116 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.5504, allocations: 252 kB / 1.116 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.5504, allocations: 37.34 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.5505, allocations: 1.656 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.5505, allocations: 15.52 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.5506, allocations: 21.23 kB / 1.116 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.5506, allocations: 1.375 kB / 1.116 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.5509, allocations: 177.1 kB / 1.116 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.551, allocations: 9.203 kB / 1.116 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.551, allocations: 7.141 kB / 1.116 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.5513, allocations: 181.5 kB / 1.117 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5513, allocations: 1.219 kB / 1.117 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5513, allocations: 0 / 1.117 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5513, allocations: 0 / 1.117 GB, free: 10.34 MB / 0.9948 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.0003279/0.5516, allocations: 285.2 kB / 1.117 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5517, allocations: 13.84 kB / 1.117 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.501e-05/0.5517, allocations: 32.17 kB / 1.117 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.5517, allocations: 6.969 kB / 1.117 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.55e-05/0.5518, allocations: 104 kB / 1.117 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.5518, allocations: 57.55 kB / 1.117 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-06/0.5518, allocations: 5.719 kB / 1.117 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.552, allocations: 74.02 kB / 1.117 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.552, allocations: 3.938 kB / 1.117 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.552, allocations: 1.375 kB / 1.117 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.552, allocations: 1.859 kB / 1.117 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.552, allocations: 20.3 kB / 1.117 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.5525, allocations: 276 kB / 1.117 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.495e-05/0.5526, allocations: 17.98 kB / 1.117 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.5526, allocations: 6.328 kB / 1.117 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.5526, allocations: 30.8 kB / 1.117 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.5526, allocations: 36.31 kB / 1.118 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5526, allocations: 0 / 1.118 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.5528, allocations: 34.73 kB / 1.118 GB, free: 9.379 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.5528, allocations: 57.64 kB / 1.118 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.916e-05/0.5528, allocations: 101.8 kB / 1.118 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.5528, allocations: 26.77 kB / 1.118 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.5529, allocations: 89.8 kB / 1.118 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.5529, allocations: 9.984 kB / 1.118 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.5529, allocations: 14.75 kB / 1.118 GB, free: 9.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.445e-05/0.5529, allocations: 316.5 kB / 1.118 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.5529, allocations: 8.172 kB / 1.118 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.5529, allocations: 18.52 kB / 1.118 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.553, allocations: 26.5 kB / 1.118 GB, free: 8.707 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.553, allocations: 0 / 1.118 GB, free: 8.707 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.009e-05/0.553, allocations: 46.8 kB / 1.118 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.553, allocations: 5.672 kB / 1.118 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.553, allocations: 96 / 1.118 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5531, allocations: 4.984 kB / 1.118 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.5531, allocations: 10.34 kB / 1.118 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5531, allocations: 1.156 kB / 1.118 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.5531, allocations: 1.219 kB / 1.118 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5531, allocations: 6.047 kB / 1.118 GB, free: 8.66 MB / 0.9948 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 3.423e-05/0.5532, allocations: 113.4 kB / 1.118 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.5532, allocations: 5.062 kB / 1.118 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/0.5533, allocations: 131.9 kB / 1.119 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.5533, allocations: 179.5 kB / 1.119 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5533, allocations: 178.4 kB / 1.119 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5533, allocations: 182.3 kB / 1.119 GB, free: 7.867 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.438e-05/0.5534, allocations: 378.2 kB / 1.119 GB, free: 7.453 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.5534, allocations: 107.4 kB / 1.119 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.683e-06/0.5534, allocations: 107.2 kB / 1.12 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.5534, allocations: 182.5 kB / 1.12 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5534, allocations: 182.5 kB / 1.12 GB, free: 6.867 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.5534, allocations: 178.3 kB / 1.12 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.5534, allocations: 187 kB / 1.12 GB, free: 6.5 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.563e-05/0.5535, allocations: 306.4 kB / 1.121 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.5535, allocations: 104.8 kB / 1.121 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.5535, allocations: 178.4 kB / 1.121 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.5536, allocations: 114 kB / 1.121 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.5536, allocations: 178.4 kB / 1.121 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5536, allocations: 107.1 kB / 1.121 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.5536, allocations: 96.69 kB / 1.121 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5536, allocations: 0 / 1.121 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00022/0.5538, allocations: 55.78 kB / 1.121 GB, free: 5.398 MB / 0.9948 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.0003082/0.5542, allocations: 0.8797 MB / 1.122 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.174e-05/0.5542, allocations: 19.75 kB / 1.122 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5542, allocations: 0 / 1.122 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.5542, allocations: 1.125 kB / 1.122 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.5544, allocations: 463 kB / 1.123 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.555, allocations: 1.345 MB / 1.124 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.555, allocations: 57.64 kB / 1.124 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.5551, allocations: 10.44 kB / 1.124 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.5551, allocations: 14.84 kB / 1.124 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of SimCode: time 7.11e-07/0.5551, allocations: 0 / 1.124 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.5718, allocations: 2.907 MB / 1.127 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.334/6.906, allocations: 1.25 kB / 1.127 GB, free: 1.668 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.924962147139013]