Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.001339/0.001339, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001544/0.001544, allocations: 189 kB / 16.25 MB, free: 6.621 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.537/2.537, allocations: 437 MB / 0.7101 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001558, allocations: 63.89 kB / 0.8688 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5848, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005866/0.5907, allocations: 4.056 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002187/0.5909, allocations: 155.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.5909, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.24e-05/0.591, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.5911, allocations: 7.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.5914, allocations: 91.67 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.5915, allocations: 31.91 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.778e-05/0.5915, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.5916, allocations: 19.91 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.5916, allocations: 8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.5917, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.5918, allocations: 67.75 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.5919, allocations: 7.969 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.5919, allocations: 8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.5921, allocations: 54.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5921, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5921, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.5921, allocations: 0 / 1.021 GB, free: 14.21 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.0003846/0.5925, allocations: 335.5 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.5925, allocations: 8.031 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.5925, allocations: 34.75 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.5926, allocations: 4.938 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.5927, allocations: 160.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.5928, allocations: 42.14 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.5928, allocations: 4.125 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5929, allocations: 41.69 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-06/0.5929, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.5929, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.593, allocations: 7.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.593, allocations: 8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.5934, allocations: 341.9 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.423e-05/0.5934, allocations: 18.52 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.5935, allocations: 12.92 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.18e-05/0.5935, allocations: 85.09 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5936, allocations: 30.56 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5936, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.5937, allocations: 33.83 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5937, allocations: 63.33 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.5938, allocations: 97.86 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5938, allocations: 33.64 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.5939, allocations: 88.03 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-06/0.5939, allocations: 7.984 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.5939, allocations: 13.72 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5941, allocations: 314.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.5941, allocations: 8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.5941, allocations: 21.7 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.5942, allocations: 17.72 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5942, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.464e-05/0.5942, allocations: 49.53 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5943, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.5943, allocations: 4.062 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.5943, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.5943, allocations: 4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.5943, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.5944, allocations: 7.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5944, allocations: 4 kB / 1.023 GB, free: 12.05 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 7.861e-05/0.5945, allocations: 117.7 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.5945, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.5946, allocations: 121 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.671e-05/0.5947, allocations: 184.2 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/0.5947, allocations: 180.2 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.255e-05/0.5948, allocations: 180.3 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.595, allocations: 413.4 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/0.5951, allocations: 105 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.5951, allocations: 104.9 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/0.5952, allocations: 184.2 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.5953, allocations: 180.2 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.466e-05/0.5953, allocations: 180.2 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.548e-05/0.5954, allocations: 188.2 kB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.5956, allocations: 307.7 kB / 1.025 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.5956, allocations: 186.1 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.5957, allocations: 184.2 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.5959, allocations: 105 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.596, allocations: 188.2 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.596, allocations: 101 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.5961, allocations: 87.22 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5961, allocations: 4 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002357/0.5963, allocations: 19.94 kB / 1.026 GB, free: 8.578 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.000483/0.5968, allocations: 0.8398 MB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.5969, allocations: 8 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5969, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5969, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.5972, allocations: 463.8 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009195/0.5982, allocations: 1.321 MB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.5984, allocations: 0.6729 MB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.5985, allocations: 11.86 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.5985, allocations: 11.42 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.5985, allocations: 0 / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/1.612, allocations: 1.405 MB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/1.613, allocations: 209.7 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.784, allocations: 0 / 1.031 GB, free: 3.582 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches