Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.00561/0.005611, allocations: 106 kB / 15.74 MB, free: 6.02 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.001298/0.001298, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.594/2.594, allocations: 469.4 MB / 0.7422 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 64.09 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7485, allocations: 159.1 MB / 1.22 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005393/0.754, allocations: 3.726 MB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000213/0.7542, allocations: 167.5 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.7542, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.164e-05/0.7543, allocations: 3.938 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.7544, allocations: 7.984 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.7548, allocations: 79.69 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.7549, allocations: 39.91 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.7549, allocations: 7.969 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.7549, allocations: 15.94 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.755, allocations: 11.92 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.755, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005932/0.7556, allocations: 195.3 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.7557, allocations: 3.984 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.7557, allocations: 15.92 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.7559, allocations: 34.64 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7559, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7559, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7559, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 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.0004933/0.7564, allocations: 332.4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.7565, allocations: 12.62 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.7565, allocations: 38.73 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.7566, allocations: 0.9375 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.7567, allocations: 172.3 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.7568, allocations: 30.25 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.7568, allocations: 8.125 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.757, allocations: 45.69 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.757, allocations: 3.938 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.757, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.757, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.7571, allocations: 19.92 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.7576, allocations: 338 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.362e-05/0.7577, allocations: 22.58 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.7577, allocations: 8.859 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.7578, allocations: 85.16 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.7579, allocations: 34.56 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.7579, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.7581, allocations: 33.64 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.7581, allocations: 51.53 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.7582, allocations: 109.8 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.7582, allocations: 25.7 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.7583, allocations: 88.03 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/0.7583, allocations: 7.953 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.7583, allocations: 17.7 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7585, allocations: 318.8 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.7585, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.7585, allocations: 25.7 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.7586, allocations: 21.66 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7586, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.035e-05/0.7587, allocations: 45.69 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7587, allocations: 8 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7587, allocations: 0 / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7587, allocations: 0 / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.7588, allocations: 8.062 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7588, allocations: 3.938 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.7588, allocations: 4 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.7588, allocations: 4 kB / 1.226 GB, free: 11.88 MB / 0.9512 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 8.237e-05/0.7589, allocations: 117.8 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.759, allocations: 0 / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.7591, allocations: 116.2 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.7592, allocations: 192.2 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.214e-05/0.7592, allocations: 180.2 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.698e-05/0.7593, allocations: 184.3 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.7595, allocations: 409.1 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.7596, allocations: 101 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.7596, allocations: 109.2 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.606e-05/0.7597, allocations: 184.2 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.7597, allocations: 176.3 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.118e-05/0.7598, allocations: 184.2 kB / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-05/0.7599, allocations: 184.2 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.76, allocations: 319.6 kB / 1.228 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.7601, allocations: 186 kB / 1.228 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.7601, allocations: 180.3 kB / 1.228 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.7603, allocations: 105 kB / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.7604, allocations: 184.2 kB / 1.229 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.7604, allocations: 113 kB / 1.229 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.7605, allocations: 83.28 kB / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7605, allocations: 0 / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002655/0.7607, allocations: 19.88 kB / 1.229 GB, free: 8.406 MB / 0.9512 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.0004836/0.7612, allocations: 0.8399 MB / 1.23 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.16e-05/0.7613, allocations: 8 kB / 1.23 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7613, allocations: 0 / 1.23 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.7613, allocations: 4 kB / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.7617, allocations: 461.6 kB / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.7626, allocations: 1.317 MB / 1.231 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.7628, allocations: 0.6729 MB / 1.232 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.7628, allocations: 7.984 kB / 1.232 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.7628, allocations: 7.438 kB / 1.232 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.7628, allocations: 4 kB / 1.232 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.7794, allocations: 1.523 MB / 1.234 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/8.187, allocations: 11.67 kB / 1.234 GB, free: 3.566 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches