Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.006793/0.006793, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001603/0.001603, allocations: 190.4 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.25/2.25, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 57.91 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2043, allocations: 140.4 MB / 1.087 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003838/0.2082, allocations: 3.277 MB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 7.964e-05/0.2083, allocations: 55.84 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.2083, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.926e-05/0.2084, allocations: 7.922 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.2085, allocations: 4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.2089, allocations: 193.6 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.209, allocations: 31.86 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.668e-05/0.209, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.209, allocations: 23.97 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.2091, allocations: 7.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2091, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.2094, allocations: 175.5 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.2095, allocations: 3.984 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.2095, allocations: 15.94 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.2097, allocations: 134.6 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2097, allocations: 3.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2097, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2097, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 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.0003206/0.2101, allocations: 358 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2101, allocations: 8.031 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.2101, allocations: 34.75 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.2102, allocations: 0.9375 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.486e-05/0.2103, allocations: 168.3 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.2103, allocations: 34.27 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.2103, allocations: 4.125 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2104, allocations: 41.62 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.2105, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2105, allocations: 7.984 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2105, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.2105, allocations: 12 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.211, allocations: 0.5872 MB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.356e-05/0.2111, allocations: 26.5 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.2111, allocations: 4.859 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.2113, allocations: 340.5 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2113, allocations: 30.56 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2113, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.2115, allocations: 41.7 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2115, allocations: 55.39 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.2116, allocations: 97.86 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2116, allocations: 25.7 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.2116, allocations: 91.98 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.2116, allocations: 7.922 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2117, allocations: 21.62 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.2117, allocations: 322.9 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.2118, allocations: 4 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.2118, allocations: 17.7 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.2118, allocations: 21.66 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2118, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.187e-05/0.2119, allocations: 53.62 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.2119, allocations: 8.062 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2119, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.2119, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.789e-05/0.212, allocations: 8 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.212, allocations: 3.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.212, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.212, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 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.581e-05/0.2121, allocations: 117.8 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.2121, allocations: 7.938 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.004e-05/0.2122, allocations: 123.4 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.425e-05/0.2123, allocations: 180.5 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.541e-05/0.2123, allocations: 184.2 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.425e-05/0.2124, allocations: 176.3 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2125, allocations: 417.2 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/0.2126, allocations: 109 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.2126, allocations: 101 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.604e-05/0.2127, allocations: 184.2 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.2127, allocations: 184.2 kB / 1.095 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.472e-05/0.2128, allocations: 180.2 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.314e-05/0.2128, allocations: 180.3 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.2129, allocations: 311.6 kB / 1.096 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.213, allocations: 182.1 kB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.213, allocations: 184.2 kB / 1.096 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.2132, allocations: 109 kB / 1.096 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.2132, allocations: 184.2 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.2133, allocations: 112.9 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.2133, allocations: 79.28 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2133, allocations: 0 / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002642/0.2136, allocations: 39.92 kB / 1.097 GB, free: 7.711 MB / 0.8575 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.0004036/0.214, allocations: 0.8633 MB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.044e-05/0.2141, allocations: 19.92 kB / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2141, allocations: 0 / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2141, allocations: 0 / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.2144, allocations: 460.7 kB / 1.098 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008073/0.2152, allocations: 1.336 MB / 1.099 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2154, allocations: 0.669 MB / 1.1 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.2155, allocations: 10.81 kB / 1.1 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.2155, allocations: 15.42 kB / 1.1 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2155, allocations: 0 / 1.1 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2943/0.5098, allocations: 2.157 MB / 1.102 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.708, allocations: 11.19 kB / 1.102 GB, free: 2.227 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches