Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.007768/0.007768, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001941/0.001941, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.393/2.393, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.88 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7869, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006943/0.7939, allocations: 3.733 MB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.7942, allocations: 155.4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.7942, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.7943, allocations: 3.938 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.7944, allocations: 11.91 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.7949, allocations: 85.88 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.7951, allocations: 39.84 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.7951, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.7952, allocations: 11.98 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.7953, allocations: 19.91 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.7953, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006476/0.796, allocations: 191.4 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.796, allocations: 11.97 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.7961, allocations: 7.938 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.7962, allocations: 42.62 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7963, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7963, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7963, allocations: 0 / 1.17 GB, free: 15.43 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.0004418/0.7967, allocations: 332.4 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7968, allocations: 12.92 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.892e-05/0.7969, allocations: 30.75 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.7969, allocations: 4.938 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.797, allocations: 164.4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.7971, allocations: 34.27 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.7971, allocations: 4.125 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.7972, allocations: 37.69 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7972, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.7973, allocations: 4 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.7973, allocations: 3.938 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.7973, allocations: 19.97 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.7978, allocations: 345.9 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.7979, allocations: 18.58 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.7979, allocations: 4.859 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/0.798, allocations: 85.11 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.798, allocations: 38.48 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.798, allocations: 4 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.7982, allocations: 37.7 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.7982, allocations: 51.41 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.7983, allocations: 105.8 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.7984, allocations: 25.7 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.7984, allocations: 88.03 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-06/0.7984, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.7985, allocations: 21.8 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7986, allocations: 322.8 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.7986, allocations: 4 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.7986, allocations: 17.66 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.7988, allocations: 25.7 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7988, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.114e-05/0.7989, allocations: 49.64 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7989, allocations: 4 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7989, allocations: 4 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7989, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.582e-05/0.799, allocations: 7.984 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.799, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.799, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.799, allocations: 4 kB / 1.172 GB, free: 13.27 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.687e-05/0.7991, allocations: 113.8 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.7991, allocations: 8.062 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.7993, allocations: 120.9 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001723/0.7995, allocations: 180.3 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001746/0.7996, allocations: 176.3 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.7997, allocations: 188.2 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.8, allocations: 409.2 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-05/0.8, allocations: 108.9 kB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.8001, allocations: 113 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.8002, allocations: 180.2 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.8003, allocations: 180.2 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-05/0.8003, allocations: 176.3 kB / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001345/0.8005, allocations: 188.2 kB / 1.174 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.8007, allocations: 315.6 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.8008, allocations: 178.1 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.8009, allocations: 176.3 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.801, allocations: 116.9 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.8011, allocations: 180.3 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.8012, allocations: 108.9 kB / 1.175 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.8012, allocations: 87.2 kB / 1.175 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8012, allocations: 0 / 1.175 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000274/0.8015, allocations: 19.88 kB / 1.175 GB, free: 9.797 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.0005431/0.802, allocations: 0.8321 MB / 1.176 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.8021, allocations: 19.92 kB / 1.176 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8022, allocations: 0 / 1.176 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.8022, allocations: 0 / 1.176 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.8026, allocations: 460.9 kB / 1.177 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.8037, allocations: 1.317 MB / 1.178 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.804, allocations: 0.6768 MB / 1.179 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.8041, allocations: 9.797 kB / 1.179 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.8041, allocations: 7.438 kB / 1.179 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8041, allocations: 0 / 1.179 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.8221, allocations: 1.541 MB / 1.18 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.395, allocations: 14.22 kB / 1.18 GB, free: 4.938 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches