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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006732/0.006732, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 195.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 63.89 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3453, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.8991/1.244, allocations: 135.4 MB / 1.339 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002059/1.245, allocations: 53.95 kB / 1.339 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/1.245, allocations: 0 / 1.339 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/1.245, allocations: 12.33 kB / 1.34 GB, free: 8.215 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.328e-05/1.245, allocations: 14.36 kB / 1.34 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/1.246, allocations: 234.5 kB / 1.34 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/1.246, allocations: 33.95 kB / 1.34 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/1.246, allocations: 1.734 kB / 1.34 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/1.246, allocations: 20.22 kB / 1.34 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/1.246, allocations: 12.11 kB / 1.34 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/1.246, allocations: 1.094 kB / 1.34 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/1.247, allocations: 241.1 kB / 1.34 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/1.247, allocations: 5.438 kB / 1.34 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/1.247, allocations: 5.469 kB / 1.34 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005415/1.248, allocations: 193.5 kB / 1.34 GB, free: 7.934 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.248, allocations: 4.969 kB / 1.34 GB, free: 7.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/1.248, allocations: 0 / 1.34 GB, free: 7.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.248, allocations: 0 / 1.34 GB, free: 7.93 MB / 1.045 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.0006301/1.248, allocations: 358.5 kB / 1.341 GB, free: 7.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.248, allocations: 11.39 kB / 1.341 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/1.249, allocations: 34.75 kB / 1.341 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/1.249, allocations: 7.719 kB / 1.341 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.249, allocations: 166.7 kB / 1.341 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/1.249, allocations: 31.36 kB / 1.341 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/1.249, allocations: 7.094 kB / 1.341 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/1.249, allocations: 44.12 kB / 1.341 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.249, allocations: 4.547 kB / 1.341 GB, free: 7.234 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/1.249, allocations: 0 / 1.341 GB, free: 7.234 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/1.249, allocations: 1.688 kB / 1.341 GB, free: 7.234 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/1.249, allocations: 12.98 kB / 1.341 GB, free: 7.234 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/1.25, allocations: 0.6002 MB / 1.341 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/1.25, allocations: 24.95 kB / 1.342 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/1.25, allocations: 6.422 kB / 1.342 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/1.25, allocations: 333.6 kB / 1.342 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.25, allocations: 32.81 kB / 1.342 GB, free: 6.117 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/1.25, allocations: 0 / 1.342 GB, free: 6.117 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001699/1.251, allocations: 44.91 kB / 1.342 GB, free: 6.074 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.251, allocations: 53.12 kB / 1.342 GB, free: 6.012 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/1.251, allocations: 102 kB / 1.342 GB, free: 5.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.251, allocations: 26.83 kB / 1.342 GB, free: 5.879 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/1.251, allocations: 90.25 kB / 1.342 GB, free: 5.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/1.251, allocations: 8.938 kB / 1.342 GB, free: 5.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/1.251, allocations: 13.98 kB / 1.342 GB, free: 5.766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.251, allocations: 321.2 kB / 1.342 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/1.251, allocations: 8.812 kB / 1.342 GB, free: 5.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/1.251, allocations: 14.78 kB / 1.343 GB, free: 5.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/1.251, allocations: 22.55 kB / 1.343 GB, free: 5.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.251, allocations: 0.9688 kB / 1.343 GB, free: 5.406 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.807e-05/1.251, allocations: 48.73 kB / 1.343 GB, free: 5.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.251, allocations: 6.328 kB / 1.343 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/1.251, allocations: 4.062 kB / 1.343 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.251, allocations: 2.141 kB / 1.343 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/1.251, allocations: 6.25 kB / 1.343 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.251, allocations: 1.859 kB / 1.343 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/1.251, allocations: 1.094 kB / 1.343 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/1.251, allocations: 12.77 kB / 1.343 GB, free: 5.355 MB / 1.045 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.327e-05/1.252, allocations: 107.6 kB / 1.343 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/1.252, allocations: 2.859 kB / 1.343 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/1.252, allocations: 123.9 kB / 1.343 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-05/1.252, allocations: 186 kB / 1.343 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.788e-05/1.252, allocations: 183 kB / 1.343 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001408/1.252, allocations: 177.5 kB / 1.343 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/1.252, allocations: 416.7 kB / 1.344 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.44e-05/1.253, allocations: 107.2 kB / 1.344 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/1.253, allocations: 106.8 kB / 1.344 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/1.253, allocations: 177.7 kB / 1.344 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/1.253, allocations: 182 kB / 1.344 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001995/1.253, allocations: 182 kB / 1.344 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/1.253, allocations: 178.7 kB / 1.345 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/1.253, allocations: 317.3 kB / 1.345 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/1.253, allocations: 180.2 kB / 1.345 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.254, allocations: 183.3 kB / 1.345 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/1.254, allocations: 106.3 kB / 1.345 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.254, allocations: 185.9 kB / 1.346 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/1.254, allocations: 106.8 kB / 1.346 GB, free: 2.055 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001942/1.254, allocations: 90.08 kB / 1.346 GB, free: 1.973 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.254, allocations: 0 / 1.346 GB, free: 1.973 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004799/1.255, allocations: 59.19 kB / 1.346 GB, free: 1.953 MB / 1.045 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.0008299/1.256, allocations: 0.8788 MB / 1.347 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/1.256, allocations: 7.891 kB / 1.347 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.256, allocations: 5.188 kB / 1.347 GB, free: 1.117 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/1.256, allocations: 0 / 1.347 GB, free: 1.117 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/1.256, allocations: 468.3 kB / 1.347 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/1.258, allocations: 1.348 MB / 1.348 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/1.258, allocations: 0.6738 MB / 1.349 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.49e-05/1.258, allocations: 9.812 kB / 1.349 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/1.258, allocations: 9.094 kB / 1.349 GB, free: 14.61 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.258, allocations: 0 / 1.349 GB, free: 14.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/1.281, allocations: 2.224 MB / 1.351 GB, free: 14.13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.954, allocations: 9.016 kB / 1.351 GB, free: 14.12 MB / 1.061 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) 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) Reference file matches