Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001299/0.001299, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001256/0.001256, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7101 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.91 kB / 0.8688 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5877/0.589, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1279/0.7169, allocations: 133.5 MB / 1.147 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.7171, allocations: 59.86 kB / 1.147 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.7171, allocations: 0 / 1.147 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.826e-05/0.7173, allocations: 0 / 1.147 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.7173, allocations: 11.91 kB / 1.147 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.7181, allocations: 226.9 kB / 1.148 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.674e-05/0.7182, allocations: 31.86 kB / 1.148 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.7182, allocations: 4 kB / 1.148 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.7183, allocations: 15.97 kB / 1.148 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.7184, allocations: 15.94 kB / 1.148 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.7184, allocations: 0 / 1.148 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.7188, allocations: 247.3 kB / 1.148 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.7189, allocations: 3.984 kB / 1.148 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.7189, allocations: 16 kB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.7193, allocations: 189.8 kB / 1.148 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7193, allocations: 4 kB / 1.148 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7193, allocations: 0 / 1.148 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7193, allocations: 4 kB / 1.148 GB, free: 11.89 MB / 0.9044 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.0004361/0.7198, allocations: 355.4 kB / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.7198, allocations: 12.03 kB / 1.148 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.7199, allocations: 30.75 kB / 1.148 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.7199, allocations: 0.9375 kB / 1.148 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.72, allocations: 168.3 kB / 1.149 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.7201, allocations: 34.02 kB / 1.149 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.7201, allocations: 0 / 1.149 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.7202, allocations: 57.61 kB / 1.149 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.7203, allocations: 0 / 1.149 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7203, allocations: 0 / 1.149 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.7203, allocations: 0 / 1.149 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.7204, allocations: 19.98 kB / 1.149 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.7212, allocations: 0.6027 MB / 1.149 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.701e-05/0.7212, allocations: 14.58 kB / 1.149 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.7212, allocations: 16.8 kB / 1.149 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.7215, allocations: 332.4 kB / 1.15 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.7215, allocations: 34.56 kB / 1.15 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7215, allocations: 0 / 1.15 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.7216, allocations: 37.8 kB / 1.15 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.7217, allocations: 51.41 kB / 1.15 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.7218, allocations: 109.8 kB / 1.15 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.7218, allocations: 25.7 kB / 1.15 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.7219, allocations: 84.05 kB / 1.15 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-06/0.7219, allocations: 7.922 kB / 1.15 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.7219, allocations: 17.72 kB / 1.15 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.722, allocations: 318.7 kB / 1.15 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.722, allocations: 8.031 kB / 1.15 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.7221, allocations: 21.7 kB / 1.15 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.7221, allocations: 17.72 kB / 1.15 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7221, allocations: 0 / 1.15 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.938e-05/0.7222, allocations: 49.62 kB / 1.15 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7222, allocations: 4 kB / 1.15 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7223, allocations: 8.047 kB / 1.15 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7223, allocations: 4 kB / 1.15 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.7223, allocations: 8 kB / 1.15 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.7223, allocations: 0 / 1.15 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.7224, allocations: 7.844 kB / 1.15 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.7224, allocations: 7.938 kB / 1.15 GB, free: 9.066 MB / 0.9044 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.31e-05/0.7225, allocations: 114.4 kB / 1.151 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.7225, allocations: 4 kB / 1.151 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.7226, allocations: 116.9 kB / 1.151 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.448e-05/0.7227, allocations: 180.3 kB / 1.151 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.19e-05/0.7228, allocations: 188.2 kB / 1.151 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.27e-05/0.7228, allocations: 180.2 kB / 1.151 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.7231, allocations: 405.2 kB / 1.152 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/0.7231, allocations: 109 kB / 1.152 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.7231, allocations: 101 kB / 1.152 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.032e-05/0.7232, allocations: 184.2 kB / 1.152 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/0.7233, allocations: 176.3 kB / 1.152 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.219e-05/0.7234, allocations: 184.2 kB / 1.152 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.539e-05/0.7234, allocations: 176.3 kB / 1.152 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.7236, allocations: 315.7 kB / 1.153 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.7236, allocations: 186.1 kB / 1.153 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.7237, allocations: 180.2 kB / 1.153 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7239, allocations: 105 kB / 1.153 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.7239, allocations: 188.2 kB / 1.153 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.724, allocations: 112.8 kB / 1.153 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.724, allocations: 83.28 kB / 1.154 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.724, allocations: 0 / 1.154 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002933/0.7243, allocations: 59.92 kB / 1.154 GB, free: 5.566 MB / 0.9044 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.0005421/0.7249, allocations: 0.8752 MB / 1.154 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.7249, allocations: 15.94 kB / 1.154 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.725, allocations: 4.125 kB / 1.154 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.725, allocations: 0 / 1.154 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.7253, allocations: 467.6 kB / 1.155 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.7264, allocations: 1.344 MB / 1.156 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.7266, allocations: 0.6768 MB / 1.157 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.7267, allocations: 4 kB / 1.157 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.7267, allocations: 11.44 kB / 1.157 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7267, allocations: 0 / 1.157 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9281/1.655, allocations: 2.113 MB / 1.159 GB, free: 44 kB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/1.655, allocations: 213.4 kB / 1.159 GB, free: 15.79 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.865, allocations: 6.375 kB / 1.159 GB, free: 15.78 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches