Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001197/0.001197, 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.001216/0.001216, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.501/2.501, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 55.91 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.591, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004863/0.5959, allocations: 3.278 MB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.892e-05/0.596, allocations: 55.84 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.5961, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.342e-05/0.5962, allocations: 7.938 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.5963, allocations: 11.92 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.5968, allocations: 183.3 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.5969, allocations: 35.86 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.5969, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.5969, allocations: 11.98 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.597, allocations: 15.92 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.597, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.5974, allocations: 175.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.5974, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.5975, allocations: 15.92 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.5977, allocations: 130 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5978, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5978, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.5978, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 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.0003716/0.5982, allocations: 351.4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5982, allocations: 12.03 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.5982, allocations: 30.75 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.5983, allocations: 0.9375 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5984, allocations: 172.3 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.5985, allocations: 34.2 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-06/0.5985, allocations: 8.125 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5986, allocations: 45.69 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.5986, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.5986, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.5986, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.5987, allocations: 11.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.5993, allocations: 0.591 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.544e-05/0.5993, allocations: 26.5 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.5994, allocations: 8.922 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.5996, allocations: 340.4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.5996, allocations: 34.55 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5996, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.5998, allocations: 33.7 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5998, allocations: 55.34 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.5999, allocations: 109.9 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5999, allocations: 29.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.6, allocations: 84.05 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.6, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.6, allocations: 13.72 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.6001, allocations: 318.8 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.6001, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.6002, allocations: 21.72 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.235e-05/0.6002, allocations: 21.7 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6002, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.951e-05/0.6003, allocations: 41.64 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6003, allocations: 5.719 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6003, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6003, allocations: 7.984 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.6004, allocations: 8.062 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.6004, allocations: 3.938 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.6004, allocations: 7.906 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.6004, allocations: 4 kB / 1.024 GB, free: 11.7 MB / 0.7794 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 6.555e-05/0.6005, allocations: 113.7 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.6005, allocations: 4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.936e-05/0.6006, allocations: 119.1 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/0.6007, allocations: 188.2 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-05/0.6008, allocations: 176.3 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.568e-05/0.6008, allocations: 176.3 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.601, allocations: 417.1 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.6011, allocations: 105 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.6011, allocations: 104.9 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.363e-05/0.6012, allocations: 184.3 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.6012, allocations: 176.3 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.014e-05/0.6013, allocations: 180.2 kB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.516e-05/0.6014, allocations: 180.5 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.6015, allocations: 315.7 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.6016, allocations: 182.1 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/0.6016, allocations: 188.2 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.6018, allocations: 112.9 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.6019, allocations: 180.2 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.6019, allocations: 105 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.602, allocations: 91.27 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.602, allocations: 0 / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002685/0.6022, allocations: 39.88 kB / 1.027 GB, free: 8.211 MB / 0.7794 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.0004769/0.6027, allocations: 0.8633 MB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.231e-05/0.6028, allocations: 12 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.6028, allocations: 0 / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.6028, allocations: 4.125 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.6032, allocations: 465.5 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.6042, allocations: 1.336 MB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.6045, allocations: 0.6768 MB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.252e-05/0.6045, allocations: 9.578 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.6045, allocations: 11.44 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.6045, allocations: 0 / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07703/0.6816, allocations: 2.126 MB / 1.032 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/8.099, allocations: 10.31 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches