Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9205/0.9205, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.753/1.753, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.415e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00606/0.006085, allocations: 3.633 MB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.006288, allocations: 135.4 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.006316, allocations: 4 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.006452, allocations: 4 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.00709, allocations: 15.84 kB / 0.9542 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.00751, allocations: 87.62 kB / 0.9542 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.007607, allocations: 35.8 kB / 0.9543 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.007661, allocations: 7.969 kB / 0.9543 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.007727, allocations: 19.92 kB / 0.9543 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.007809, allocations: 8 kB / 0.9543 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.007824, allocations: 4 kB / 0.9543 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.008438, allocations: 215.3 kB / 0.9545 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.008509, allocations: 4 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.00854, allocations: 4 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.008721, allocations: 79.66 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.008727, allocations: 0 / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.695e-06/0.00873, allocations: 0 / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.008736, allocations: 4 kB / 0.9546 GB, free: 15.26 MB / 0.9167 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.0004387/0.009175, allocations: 254.3 kB / 0.9549 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.009218, allocations: 12.03 kB / 0.9549 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.009261, allocations: 34.73 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.009301, allocations: 4.938 kB / 0.9549 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.009388, allocations: 101.8 kB / 0.955 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.009464, allocations: 55.97 kB / 0.9551 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.009471, allocations: 384 / 0.9551 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.009607, allocations: 67.95 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.009616, allocations: 3.938 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.009627, allocations: 4 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.009647, allocations: 0 / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.009687, allocations: 19.92 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.01006, allocations: 227.9 kB / 0.9554 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.943e-05/0.0101, allocations: 26.61 kB / 0.9554 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.01012, allocations: 4.859 kB / 0.9554 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.01017, allocations: 4.062 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.01021, allocations: 34.56 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.864e-06/0.01021, allocations: 0 / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.01037, allocations: 37.62 kB / 0.9555 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.01041, allocations: 55.41 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.01048, allocations: 102 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.0105, allocations: 29.64 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.01054, allocations: 96.08 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.01055, allocations: 7.891 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.01057, allocations: 13.72 kB / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.01066, allocations: 310.8 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.01068, allocations: 8 kB / 0.9561 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.0107, allocations: 17.7 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.01074, allocations: 33.59 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01074, allocations: 4 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.059e-05/0.0108, allocations: 45.97 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01081, allocations: 9.969 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01082, allocations: 4 kB / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01083, allocations: 0 / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.01088, allocations: 4 kB / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01088, allocations: 0 / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.0109, allocations: 3.984 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01091, allocations: 15.92 kB / 0.9562 GB, free: 13.42 MB / 0.9167 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.118e-05/0.01098, allocations: 113.8 kB / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.011, allocations: 4 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.01112, allocations: 117.9 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.188e-05/0.01117, allocations: 184.2 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.078e-05/0.01123, allocations: 176.3 kB / 0.9568 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.927e-05/0.01128, allocations: 184.2 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.01147, allocations: 384.2 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.0115, allocations: 101 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.01154, allocations: 104.9 kB / 0.9575 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-05/0.01159, allocations: 180.3 kB / 0.9577 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.01165, allocations: 184.2 kB / 0.9578 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-05/0.0117, allocations: 184.2 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.268e-05/0.01175, allocations: 184.2 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01187, allocations: 299.8 kB / 0.9585 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.0119, allocations: 108.9 kB / 0.9586 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.01197, allocations: 184.2 kB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.01209, allocations: 109 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.01214, allocations: 180.2 kB / 0.959 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.01217, allocations: 105 kB / 0.9591 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.01222, allocations: 91.22 kB / 0.9592 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01222, allocations: 4 kB / 0.9592 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001957/0.01241, allocations: 15.94 kB / 0.9592 GB, free: 10.09 MB / 0.9167 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.0004374/0.01285, allocations: 0.832 MB / 0.9601 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.358e-05/0.01294, allocations: 8 kB / 0.9601 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01295, allocations: 0 / 0.9601 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.01295, allocations: 3.938 kB / 0.9601 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.01336, allocations: 459.7 kB / 0.9605 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.01429, allocations: 1.324 MB / 0.9618 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.981e-05/0.01436, allocations: 59.34 kB / 0.9619 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.731e-05/0.01442, allocations: 10.25 kB / 0.9619 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.01446, allocations: 8.5 kB / 0.9619 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of SimCode: time 1.783e-06/0.01446, allocations: 0 / 0.9619 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.03345, allocations: 2.181 MB / 0.964 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/6.766, allocations: 7.719 kB / 0.964 GB, free: 5.227 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.049090283922851]