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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.556/2.556, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 64.03 kB / 0.9086 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2559, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1456/0.4015, allocations: 135.4 MB / 1.196 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001531/0.4017, allocations: 59.84 kB / 1.196 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.4017, allocations: 0 / 1.196 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.4018, allocations: 7.938 kB / 1.196 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.4019, allocations: 15.86 kB / 1.196 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.4027, allocations: 240.3 kB / 1.197 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.4027, allocations: 35.91 kB / 1.197 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.038e-05/0.4028, allocations: 0 / 1.197 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.4028, allocations: 19.92 kB / 1.197 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.4029, allocations: 7.984 kB / 1.197 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4029, allocations: 3.938 kB / 1.197 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.4034, allocations: 235.5 kB / 1.197 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.4034, allocations: 11.97 kB / 1.197 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.4035, allocations: 8 kB / 1.197 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.404, allocations: 191.9 kB / 1.197 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.404, allocations: 4 kB / 1.197 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.243e-06/0.404, allocations: 0 / 1.197 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.404, allocations: 0 / 1.197 GB, free: 5.477 MB / 0.9512 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.0005156/0.4046, allocations: 351.5 kB / 1.197 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4046, allocations: 8.031 kB / 1.197 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.4047, allocations: 38.75 kB / 1.197 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.4047, allocations: 4.922 kB / 1.197 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.4049, allocations: 168.2 kB / 1.198 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.405, allocations: 37.95 kB / 1.198 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.405, allocations: 4 kB / 1.198 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.4052, allocations: 37.69 kB / 1.198 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4052, allocations: 3.984 kB / 1.198 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.4052, allocations: 8 kB / 1.198 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.4052, allocations: 3.938 kB / 1.198 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.4053, allocations: 11.98 kB / 1.198 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009995/0.4063, allocations: 0.595 MB / 1.198 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.4064, allocations: 26.52 kB / 1.198 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.4064, allocations: 4.859 kB / 1.198 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.4067, allocations: 336.5 kB / 1.199 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.4068, allocations: 34.56 kB / 1.199 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.4068, allocations: 0 / 1.199 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.407, allocations: 41.78 kB / 1.199 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4071, allocations: 59.38 kB / 1.199 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4072, allocations: 97.84 kB / 1.199 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.4072, allocations: 29.64 kB / 1.199 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4073, allocations: 92.05 kB / 1.199 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.4073, allocations: 3.906 kB / 1.199 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.4074, allocations: 13.72 kB / 1.199 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4076, allocations: 322.8 kB / 1.199 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.4076, allocations: 8 kB / 1.199 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.4076, allocations: 13.72 kB / 1.199 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.4077, allocations: 17.72 kB / 1.199 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4077, allocations: 0 / 1.199 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000131/0.4078, allocations: 53.62 kB / 1.199 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4079, allocations: 4 kB / 1.199 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4079, allocations: 4.062 kB / 1.199 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4079, allocations: 0 / 1.199 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.408, allocations: 7.984 kB / 1.199 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.408, allocations: 4 kB / 1.199 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.408, allocations: 3.938 kB / 1.199 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.4081, allocations: 0 / 1.199 GB, free: 2.668 MB / 0.9512 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.918e-05/0.4082, allocations: 113.8 kB / 1.2 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.4082, allocations: 0 / 1.2 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.4084, allocations: 125 kB / 1.2 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/0.4085, allocations: 176.3 kB / 1.2 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001261/0.4087, allocations: 188.2 kB / 1.2 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001161/0.4088, allocations: 184.1 kB / 1.2 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.4092, allocations: 409.2 kB / 1.201 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.825e-05/0.4093, allocations: 105 kB / 1.201 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.4093, allocations: 108.9 kB / 1.201 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.4095, allocations: 176.3 kB / 1.201 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.4096, allocations: 184.3 kB / 1.201 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001116/0.4097, allocations: 184.2 kB / 1.201 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/0.4099, allocations: 176.5 kB / 1.201 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.4101, allocations: 323.6 kB / 1.202 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.4103, allocations: 178.1 kB / 1.202 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.4104, allocations: 184.2 kB / 1.202 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4106, allocations: 105 kB / 1.202 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4108, allocations: 188.2 kB / 1.202 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.4108, allocations: 104.9 kB / 1.202 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.017e-05/0.4109, allocations: 91.27 kB / 1.203 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4109, allocations: 0 / 1.203 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003052/0.4113, allocations: 59.94 kB / 1.203 GB, free: 15.16 MB / 0.9669 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.0006132/0.4119, allocations: 0.8909 MB / 1.204 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.922e-05/0.4119, allocations: 7.938 kB / 1.204 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.412, allocations: 128 / 1.204 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.412, allocations: 8 kB / 1.204 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.4123, allocations: 459.6 kB / 1.204 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.4134, allocations: 1.355 MB / 1.205 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.4137, allocations: 0.6729 MB / 1.206 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.4137, allocations: 7.984 kB / 1.206 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.4137, allocations: 7.438 kB / 1.206 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.4137, allocations: 0 / 1.206 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.402/2.816, allocations: 2.178 MB / 1.208 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/13.96, allocations: 15.02 kB / 1.208 GB, free: 9.492 MB / 0.9669 GB (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) 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) Reference file matches