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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001615/0.001615, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 469.4 MB / 0.742 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 66.98 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2937, allocations: 159.1 MB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005798/0.2995, allocations: 3.717 MB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.2998, allocations: 171.4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.2998, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.2999, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.3, allocations: 15.91 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.3004, allocations: 87.69 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.3005, allocations: 31.91 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.3006, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.3006, allocations: 19.88 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.3007, allocations: 11.97 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3007, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.3013, allocations: 183.4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.3013, allocations: 7.969 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.3014, allocations: 7.938 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3016, allocations: 44.17 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3016, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3016, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3016, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 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.0005601/0.3022, allocations: 335.4 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.3022, allocations: 12.03 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.3023, allocations: 38.73 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.3023, allocations: 0.9375 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3025, allocations: 168.3 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.3025, allocations: 26.27 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3026, allocations: 12.05 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.3027, allocations: 45.69 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3027, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3028, allocations: 4 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.3028, allocations: 0 / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.3028, allocations: 15.98 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3033, allocations: 330 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/0.3033, allocations: 22.52 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.3034, allocations: 8.859 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/0.3035, allocations: 85.16 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3035, allocations: 38.56 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3035, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.3037, allocations: 29.7 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3037, allocations: 51.41 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.3038, allocations: 117.9 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3038, allocations: 25.7 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.3039, allocations: 84.05 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.3039, allocations: 7.906 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.3039, allocations: 21.7 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.304, allocations: 318.7 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.3041, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.3041, allocations: 21.7 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.3041, allocations: 21.72 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3041, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.04e-05/0.3042, allocations: 53.62 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3043, allocations: 8 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3043, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3043, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.3043, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3043, allocations: 4.062 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.3044, allocations: 7.938 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3044, allocations: 0 / 1.07 GB, free: 8.137 MB / 0.8262 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.737e-05/0.3045, allocations: 118.3 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.3045, allocations: 7.922 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.3046, allocations: 116.9 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.923e-05/0.3047, allocations: 180.3 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-05/0.3047, allocations: 184.2 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.3048, allocations: 184.2 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.305, allocations: 405.1 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/0.3051, allocations: 109 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.3051, allocations: 101 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-05/0.3052, allocations: 184.2 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.3052, allocations: 176.3 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.926e-05/0.3053, allocations: 188.2 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.803e-05/0.3054, allocations: 176.3 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.3055, allocations: 311.7 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.3056, allocations: 182.4 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.3057, allocations: 188.2 kB / 1.072 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3058, allocations: 105 kB / 1.072 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3059, allocations: 184.2 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.3059, allocations: 109 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.306, allocations: 83.28 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.306, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002589/0.3062, allocations: 27.88 kB / 1.073 GB, free: 4.672 MB / 0.8262 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.0005763/0.3068, allocations: 0.8282 MB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.3069, allocations: 11.98 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3069, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.3069, allocations: 4 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3073, allocations: 455.8 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3085, allocations: 1.328 MB / 1.075 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3088, allocations: 0.6768 MB / 1.076 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.3088, allocations: 11.69 kB / 1.076 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.3089, allocations: 7.438 kB / 1.076 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3089, allocations: 4 kB / 1.076 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.3263, allocations: 1.504 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.738, allocations: 8.766 kB / 1.078 GB, free: 15.83 MB / 0.8419 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