Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.007695/0.007695, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001464/0.001464, allocations: 182.6 kB / 16.67 MB, free: 5.977 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 65.95 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3197, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006122/0.3259, allocations: 3.715 MB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.3262, allocations: 155.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.3262, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.3263, allocations: 7.922 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/0.3264, allocations: 11.94 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3269, allocations: 83.75 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.327, allocations: 47.77 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.3271, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/0.3271, allocations: 15.94 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.693e-05/0.3272, allocations: 11.97 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3272, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006117/0.3279, allocations: 183.4 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.3279, allocations: 7.984 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.328, allocations: 11.94 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.3281, allocations: 42.77 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3281, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.947e-06/0.3281, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3281, allocations: 7.875 kB / 1.092 GB, free: 13.69 MB / 0.8575 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.0003726/0.3285, allocations: 340.3 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3286, allocations: 8.031 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.3286, allocations: 38.73 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.3286, allocations: 4.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/0.3287, allocations: 164.4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.3288, allocations: 26.27 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.3288, allocations: 8.125 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.329, allocations: 41.67 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.329, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.329, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.329, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.3291, allocations: 19.92 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.3295, allocations: 334 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/0.3296, allocations: 18.58 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.3296, allocations: 4.859 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/0.3297, allocations: 89.16 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3297, allocations: 34.56 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3297, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001564/0.3299, allocations: 37.64 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3299, allocations: 55.41 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.33, allocations: 101.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.33, allocations: 25.7 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.3301, allocations: 84.05 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.311e-06/0.3301, allocations: 7.906 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.3301, allocations: 21.7 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.3302, allocations: 318.9 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.3303, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.3303, allocations: 17.7 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.3303, allocations: 21.66 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3303, allocations: 3.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.637e-05/0.3304, allocations: 45.69 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3304, allocations: 17.41 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3305, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3305, allocations: 3.938 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/0.3305, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3305, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.3306, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3306, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 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.218e-05/0.3306, allocations: 121.8 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3307, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3308, allocations: 128.8 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/0.3309, allocations: 180.2 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.829e-05/0.3309, allocations: 184.2 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.642e-05/0.331, allocations: 184.2 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.3312, allocations: 409.1 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/0.3312, allocations: 112.9 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.3313, allocations: 101 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.837e-05/0.3313, allocations: 176.3 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.3314, allocations: 180.2 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.694e-05/0.3314, allocations: 184.2 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.293e-05/0.3315, allocations: 184.2 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3316, allocations: 303.8 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.3317, allocations: 186 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.3318, allocations: 180.3 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3319, allocations: 104.9 kB / 1.096 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.332, allocations: 192.3 kB / 1.096 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.332, allocations: 105 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.3321, allocations: 79.28 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3321, allocations: 0 / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002488/0.3323, allocations: 19.94 kB / 1.097 GB, free: 8.07 MB / 0.8575 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.0004845/0.3328, allocations: 0.8326 MB / 1.097 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.3329, allocations: 12 kB / 1.097 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3329, allocations: 3.938 kB / 1.097 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3329, allocations: 0 / 1.097 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3333, allocations: 460.1 kB / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.3343, allocations: 1.332 MB / 1.099 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3345, allocations: 0.6767 MB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.3346, allocations: 11.75 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3346, allocations: 15.42 kB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.3346, allocations: 0 / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.3525, allocations: 1.518 MB / 1.101 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.613, allocations: 11.22 kB / 1.101 GB, free: 3.211 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches