Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001242/0.001242, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001449/0.001449, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 0.4892 GB / 0.7944 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 64.56 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006002/0.3218, allocations: 3.62 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.322, allocations: 155.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.322, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.884e-05/0.3221, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.3222, allocations: 15.91 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.3226, allocations: 86.5 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.3226, allocations: 31.86 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.3227, allocations: 8 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.3227, allocations: 19.91 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.3228, allocations: 11.98 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3228, allocations: 3.938 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006166/0.3234, allocations: 207.6 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.3235, allocations: 8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.3235, allocations: 11.92 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3236, allocations: 55.92 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3236, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3237, allocations: 4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3237, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 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.0003844/0.324, allocations: 258.3 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3241, allocations: 12.03 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3241, allocations: 30.75 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.3242, allocations: 8.875 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3243, allocations: 118.5 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.3244, allocations: 51.97 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3244, allocations: 12.06 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3245, allocations: 67.33 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3245, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3245, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.3246, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.3246, allocations: 19.98 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.325, allocations: 228 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.3251, allocations: 18.52 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.3251, allocations: 8.922 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.3251, allocations: 7.984 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3252, allocations: 34.56 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3252, allocations: 8 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.3253, allocations: 33.66 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3253, allocations: 51.41 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.3254, allocations: 109.8 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3255, allocations: 25.7 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.3255, allocations: 84.09 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.3255, allocations: 4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.3256, allocations: 21.7 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3257, allocations: 314.8 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.3257, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.3258, allocations: 25.83 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.3258, allocations: 13.72 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3258, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.221e-05/0.3259, allocations: 57.58 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3259, allocations: 4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3259, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3259, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.335e-05/0.3259, allocations: 8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.326, allocations: 4.047 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.326, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.326, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 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.128e-05/0.3261, allocations: 121.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3261, allocations: 3.984 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.3262, allocations: 113 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/0.3263, allocations: 180.3 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.324e-05/0.3264, allocations: 188.2 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.952e-05/0.3265, allocations: 180.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.3267, allocations: 384.2 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.955e-05/0.3268, allocations: 116.9 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.3268, allocations: 101 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-05/0.3269, allocations: 180.2 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.327, allocations: 184.2 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.755e-05/0.3271, allocations: 180.2 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.897e-05/0.3272, allocations: 176.3 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3273, allocations: 319.7 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.3274, allocations: 104.9 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.3275, allocations: 184.2 kB / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3276, allocations: 109 kB / 1.333 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.3277, allocations: 188.2 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.3278, allocations: 101 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.487e-05/0.3279, allocations: 87.27 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3279, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002398/0.3281, allocations: 23.88 kB / 1.334 GB, free: 8.945 MB / 1.029 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.0005111/0.3286, allocations: 0.8243 MB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.185e-05/0.3287, allocations: 8 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3287, allocations: 4 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3287, allocations: 0 / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3292, allocations: 463.8 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3304, allocations: 1.328 MB / 1.336 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.3304, allocations: 55.36 kB / 1.336 GB, free: 6.137 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.3304, allocations: 7.984 kB / 1.336 GB, free: 6.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.3305, allocations: 7.438 kB / 1.336 GB, free: 6.121 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3305, allocations: 4 kB / 1.336 GB, free: 6.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.362, allocations: 2.043 MB / 1.338 GB, free: 4.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.23, allocations: 3.562 kB / 1.338 GB, free: 4.215 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.687222234904766]