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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008593/0.0008593, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005309/0.005309, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.347/2.347, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003192, allocations: 11.98 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5308, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003371/0.5342, allocations: 2.993 MB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 8.418e-05/0.5343, allocations: 51.86 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.235e-05/0.5344, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.75e-05/0.5345, allocations: 11.92 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.5345, allocations: 11.92 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.535, allocations: 164.3 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.5351, allocations: 63.83 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.939e-05/0.5351, allocations: 3.984 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.5352, allocations: 11.98 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.5352, allocations: 15.88 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.5352, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.5356, allocations: 171.5 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.5356, allocations: 11.92 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.5356, allocations: 33.7 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.5359, allocations: 145.9 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5359, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5359, allocations: 4 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5359, allocations: 0 / 1.027 GB, free: 12.16 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.0002955/0.5362, allocations: 339.5 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.5363, allocations: 8.031 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.5363, allocations: 34.75 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.5363, allocations: 0.9375 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.5364, allocations: 160.4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.5365, allocations: 34.2 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.5365, allocations: 12.06 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.5366, allocations: 41.69 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.5366, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.5366, allocations: 4 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.5367, allocations: 3.984 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.5367, allocations: 12 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.5372, allocations: 0.5794 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.218e-05/0.5373, allocations: 22.52 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.5373, allocations: 8.844 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.5375, allocations: 344.5 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.5375, allocations: 34.56 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5376, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001159/0.5377, allocations: 37.61 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.5377, allocations: 59.33 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.5378, allocations: 105.9 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.5378, allocations: 25.7 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.5379, allocations: 92.05 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.5379, allocations: 3.984 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.5379, allocations: 9.719 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.538, allocations: 314.8 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.538, allocations: 4 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.538, allocations: 21.72 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.5381, allocations: 25.7 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5381, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.052e-05/0.5381, allocations: 45.91 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.5382, allocations: 4 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.5382, allocations: 0 / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.5382, allocations: 4 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.771e-05/0.5382, allocations: 4.062 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5382, allocations: 4 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.5383, allocations: 11.88 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.5383, allocations: 7.984 kB / 1.029 GB, free: 9.379 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.342e-05/0.5383, allocations: 114.2 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.5384, allocations: 7.906 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.5385, allocations: 113 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/0.5385, allocations: 188.3 kB / 1.029 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-05/0.5386, allocations: 180.2 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-05/0.5386, allocations: 180.2 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.5389, allocations: 413.1 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/0.5389, allocations: 101 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.5389, allocations: 104.9 kB / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-05/0.539, allocations: 188.3 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.539, allocations: 176.3 kB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.232e-05/0.5391, allocations: 180.2 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.996e-05/0.5391, allocations: 180.2 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.5393, allocations: 311.7 kB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.5393, allocations: 190.1 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.5394, allocations: 180.5 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.5396, allocations: 105 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.5396, allocations: 188.2 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.5396, allocations: 109 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.5397, allocations: 83.28 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5397, allocations: 0 / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002692/0.54, allocations: 43.86 kB / 1.032 GB, free: 5.895 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.0004247/0.5404, allocations: 0.8616 MB / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.48e-05/0.5405, allocations: 11.98 kB / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5405, allocations: 0 / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.5405, allocations: 4.125 kB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.5409, allocations: 0.5185 MB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.5418, allocations: 1.357 MB / 1.035 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.542, allocations: 0.6731 MB / 1.036 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.542, allocations: 10.09 kB / 1.036 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.542, allocations: 11.44 kB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.542, allocations: 0 / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.345/2.887, allocations: 1.957 MB / 1.038 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/2.887, allocations: 256.5 kB / 1.038 GB, free: 304 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/5.359, allocations: 0 / 1.038 GB, free: 304 kB / 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