Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.001444/0.001444, allocations: 108 kB / 15.61 MB, free: 152 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.001753/0.001753, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5441, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1217/0.6659, allocations: 135.4 MB / 1.082 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.666, allocations: 63.78 kB / 1.082 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.6661, allocations: 0 / 1.082 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.143e-05/0.6662, allocations: 0 / 1.082 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.6663, allocations: 7.922 kB / 1.082 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.6671, allocations: 243 kB / 1.082 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.6671, allocations: 31.84 kB / 1.082 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.6672, allocations: 7.984 kB / 1.082 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.6672, allocations: 15.94 kB / 1.082 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.6673, allocations: 19.91 kB / 1.082 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.6673, allocations: 0 / 1.082 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.6678, allocations: 243.5 kB / 1.083 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.6678, allocations: 4 kB / 1.083 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.6678, allocations: 11.92 kB / 1.083 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.6682, allocations: 189.8 kB / 1.083 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6682, allocations: 4 kB / 1.083 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6682, allocations: 0 / 1.083 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6682, allocations: 0 / 1.083 GB, free: 9.016 MB / 0.8419 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.0003438/0.6686, allocations: 363.4 kB / 1.083 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.6686, allocations: 12.03 kB / 1.083 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.6686, allocations: 30.75 kB / 1.083 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.6687, allocations: 0.9375 kB / 1.083 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.666e-05/0.6688, allocations: 164.4 kB / 1.083 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.6688, allocations: 37.94 kB / 1.083 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.6688, allocations: 4 kB / 1.083 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.6689, allocations: 45.69 kB / 1.083 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.669, allocations: 3.984 kB / 1.083 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.669, allocations: 0 / 1.083 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.669, allocations: 0 / 1.083 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.669, allocations: 15.98 kB / 1.083 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.6697, allocations: 0.5989 MB / 1.084 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.132e-05/0.6697, allocations: 18.52 kB / 1.084 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.6698, allocations: 8.922 kB / 1.084 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.6699, allocations: 332.4 kB / 1.084 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.67, allocations: 34.5 kB / 1.084 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.67, allocations: 0 / 1.084 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.6701, allocations: 49.62 kB / 1.084 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6701, allocations: 59.38 kB / 1.084 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.6702, allocations: 101.9 kB / 1.085 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6702, allocations: 25.7 kB / 1.085 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.6703, allocations: 88.03 kB / 1.085 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.6703, allocations: 7.922 kB / 1.085 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.6703, allocations: 17.72 kB / 1.085 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.6704, allocations: 314.8 kB / 1.085 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.6704, allocations: 8 kB / 1.085 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.6704, allocations: 17.7 kB / 1.085 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.6705, allocations: 21.72 kB / 1.085 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6705, allocations: 4 kB / 1.085 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.952e-05/0.6706, allocations: 49.62 kB / 1.085 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6706, allocations: 4 kB / 1.085 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6706, allocations: 4.062 kB / 1.085 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6706, allocations: 4 kB / 1.085 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/0.6707, allocations: 4 kB / 1.085 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6707, allocations: 3.984 kB / 1.085 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.6707, allocations: 7.844 kB / 1.085 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6707, allocations: 7.984 kB / 1.085 GB, free: 6.188 MB / 0.8419 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 5.915e-05/0.6708, allocations: 109.8 kB / 1.085 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.6708, allocations: 8 kB / 1.085 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.6709, allocations: 113 kB / 1.085 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.671, allocations: 184.2 kB / 1.086 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-05/0.671, allocations: 180.2 kB / 1.086 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.756e-05/0.6711, allocations: 184.2 kB / 1.086 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.6712, allocations: 405.2 kB / 1.086 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/0.6713, allocations: 105 kB / 1.086 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.6713, allocations: 104.9 kB / 1.086 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.386e-05/0.6714, allocations: 184.3 kB / 1.087 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.6714, allocations: 180.2 kB / 1.087 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-05/0.6715, allocations: 180.2 kB / 1.087 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-05/0.6715, allocations: 180.3 kB / 1.087 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.6716, allocations: 315.7 kB / 1.087 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.6717, allocations: 186 kB / 1.088 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.6717, allocations: 180.5 kB / 1.088 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.6719, allocations: 105 kB / 1.088 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.6719, allocations: 188.2 kB / 1.088 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.672, allocations: 112.9 kB / 1.088 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.672, allocations: 83.28 kB / 1.088 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.672, allocations: 0 / 1.088 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002885/0.6723, allocations: 59.92 kB / 1.088 GB, free: 2.688 MB / 0.8419 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.0004671/0.6728, allocations: 0.8949 MB / 1.089 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.6729, allocations: 7.984 kB / 1.089 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6729, allocations: 4.125 kB / 1.089 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.6729, allocations: 0 / 1.089 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.6732, allocations: 465 kB / 1.09 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.6741, allocations: 1.344 MB / 1.091 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.6743, allocations: 0.6768 MB / 1.092 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.6743, allocations: 4 kB / 1.092 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.6743, allocations: 7.438 kB / 1.092 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.6743, allocations: 0 / 1.092 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.037/2.711, allocations: 2.177 MB / 1.094 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/12.82, allocations: 10.11 kB / 1.094 GB, free: 13.04 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches