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.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.0008117/0.0008117, 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.0008778/0.0008778, allocations: 169.9 kB / 22.46 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.8647/0.8647, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.706/1.706, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.458e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004062/0.004087, allocations: 3.677 MB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001358/0.004222, allocations: 143.4 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.004244, allocations: 4 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.004351, allocations: 3.938 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.004421, allocations: 7.969 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.004721, allocations: 91.56 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.0048, allocations: 39.84 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.004841, allocations: 7.984 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.004893, allocations: 15.98 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.004965, allocations: 15.92 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.004978, allocations: 0 / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.005424, allocations: 179.5 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.005468, allocations: 4 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.005489, allocations: 11.92 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.005623, allocations: 63.86 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005625, allocations: 4 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005626, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.005631, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 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.0003246/0.005956, allocations: 268.5 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.005998, allocations: 8.75 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.00603, allocations: 34.73 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.006066, allocations: 4.938 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.821e-05/0.006154, allocations: 101.8 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.006224, allocations: 55.97 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.00623, allocations: 384 / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006348, allocations: 75.89 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.006355, allocations: 3.938 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.006366, allocations: 7.984 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.006385, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.006423, allocations: 19.92 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.006899, allocations: 232 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.006938, allocations: 18.58 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.006951, allocations: 8.859 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.006992, allocations: 4.062 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.007018, allocations: 34.56 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.007019, allocations: 4 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.007141, allocations: 41.62 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.007168, allocations: 55.41 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.007226, allocations: 97.81 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.007236, allocations: 25.7 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.007274, allocations: 100 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.007278, allocations: 0 / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.007301, allocations: 13.72 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.00737, allocations: 314.8 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.007381, allocations: 7.984 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.0074, allocations: 21.84 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.007434, allocations: 29.59 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007436, allocations: 0 / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.045e-05/0.007486, allocations: 45.69 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.007498, allocations: 4 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007502, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007513, allocations: 4 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/0.007549, allocations: 7.938 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.007554, allocations: 4.062 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.007569, allocations: 11.88 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.007579, allocations: 4 kB / 1.005 GB, free: 7.383 MB / 0.9636 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 4.827e-05/0.007627, allocations: 109.8 kB / 1.005 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.00764, allocations: 4 kB / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.052e-05/0.007731, allocations: 117 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-05/0.007772, allocations: 184.2 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.946e-05/0.007811, allocations: 176.3 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/0.00785, allocations: 188.1 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.007996, allocations: 384.2 kB / 1.006 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.008018, allocations: 101 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.00804, allocations: 104.9 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-05/0.008079, allocations: 180.3 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.008119, allocations: 184.2 kB / 1.007 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.82e-05/0.008157, allocations: 180.2 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.715e-05/0.008194, allocations: 180.3 kB / 1.007 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.411e-05/0.008288, allocations: 303.7 kB / 1.008 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.00832, allocations: 116.9 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.008369, allocations: 176.3 kB / 1.008 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.008465, allocations: 109 kB / 1.008 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.008512, allocations: 184.2 kB / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.008533, allocations: 105 kB / 1.008 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.008569, allocations: 91.28 kB / 1.008 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.008569, allocations: 0 / 1.008 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001633/0.008732, allocations: 15.94 kB / 1.008 GB, free: 4.066 MB / 0.9636 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.0003117/0.009044, allocations: 0.8323 MB / 1.009 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.009103, allocations: 8 kB / 1.009 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.009105, allocations: 0 / 1.009 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.009107, allocations: 4.062 kB / 1.009 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.009436, allocations: 475.6 kB / 1.01 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.01015, allocations: 1.316 MB / 1.011 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.01019, allocations: 59.34 kB / 1.011 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.01022, allocations: 10.41 kB / 1.011 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.01025, allocations: 12.5 kB / 1.011 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01025, allocations: 4 kB / 1.011 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.02406, allocations: 2.172 MB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.408/6.432, allocations: 16.61 kB / 1.013 GB, free: 15.19 MB / 0.9792 GB " [Timeout remaining time 293] (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 800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.444199703633785]