Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001852/0.001852, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002187/0.002187, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5455, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004914/0.5504, allocations: 3.786 MB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001858/0.5507, allocations: 163.5 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.5507, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.205e-05/0.5508, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.5509, allocations: 11.92 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.5512, allocations: 83.75 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.5513, allocations: 59.81 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.5513, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.5513, allocations: 19.92 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.5514, allocations: 11.98 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.5514, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.5519, allocations: 187.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.552, allocations: 15.97 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.552, allocations: 7.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.5522, allocations: 50.2 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5522, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5522, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5522, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 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.0003577/0.5525, allocations: 335.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5526, allocations: 12.02 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.5526, allocations: 30.75 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.5527, allocations: 8.875 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.5528, allocations: 160.4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.5528, allocations: 34.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.5528, allocations: 8.125 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.553, allocations: 41.69 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.553, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.553, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.553, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.5531, allocations: 19.98 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.5535, allocations: 334 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.5535, allocations: 26.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.5535, allocations: 4.859 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.348e-05/0.5536, allocations: 89.16 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5537, allocations: 30.56 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5537, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.5538, allocations: 37.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.5538, allocations: 55.53 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.5539, allocations: 105.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.5539, allocations: 25.7 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.554, allocations: 92.05 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.554, allocations: 11.83 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.554, allocations: 17.7 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.5541, allocations: 318.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.5541, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.5542, allocations: 21.7 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.5542, allocations: 21.72 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5542, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.922e-05/0.5543, allocations: 53.62 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5543, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5543, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.5543, allocations: 4.062 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.5544, allocations: 8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.5544, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.5544, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.5544, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 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.104e-05/0.5545, allocations: 121.7 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.5545, allocations: 3.938 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.5546, allocations: 124.9 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.847e-05/0.5547, allocations: 176.3 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-05/0.5548, allocations: 192.2 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/0.5548, allocations: 176.3 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.555, allocations: 413.1 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/0.5551, allocations: 101 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.5551, allocations: 105 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.5552, allocations: 180.2 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.5552, allocations: 184.3 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.5553, allocations: 184.2 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-05/0.5553, allocations: 176.3 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.5555, allocations: 311.7 kB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.5555, allocations: 182.1 kB / 1.025 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.5556, allocations: 184.2 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.5557, allocations: 109 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.5558, allocations: 184.2 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.5558, allocations: 105 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.5559, allocations: 83.28 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5559, allocations: 0 / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002374/0.5561, allocations: 15.94 kB / 1.026 GB, free: 8.75 MB / 0.7794 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.0004554/0.5566, allocations: 0.8438 MB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.901e-05/0.5567, allocations: 8 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5567, allocations: 0 / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.5567, allocations: 0 / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.5571, allocations: 0.5303 MB / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008889/0.558, allocations: 1.311 MB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.5582, allocations: 0.677 MB / 1.029 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.5582, allocations: 8 kB / 1.029 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.5583, allocations: 15.05 kB / 1.029 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5583, allocations: 0 / 1.029 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.6713, allocations: 1.384 MB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.6715, allocations: 233 kB / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.67, allocations: 64 / 1.031 GB, free: 3.723 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches