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.0008199/0.0008199, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000818/0.000818, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8685/0.8685, allocations: 177.2 MB / 202.8 MB, free: 5.574 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.753/1.753, allocations: 389 MB / 0.6331 GB, free: 12.71 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.573e-06/1.573e-06, allocations: 0 / 0.9996 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.216e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003987/0.004009, allocations: 3.676 MB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.004139, allocations: 135.5 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.004158, allocations: 0 / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.804e-05/0.004256, allocations: 3.938 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.004329, allocations: 23.84 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.004632, allocations: 83.62 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.699e-05/0.004709, allocations: 35.83 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.004748, allocations: 4 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.004798, allocations: 15.98 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.004862, allocations: 19.91 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.004875, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.005288, allocations: 183.5 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.005326, allocations: 0 / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.005349, allocations: 15.98 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.00547, allocations: 67.8 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005473, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005474, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.005478, allocations: 0 / 1.004 GB, free: 9.305 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.0003033/0.005782, allocations: 260.7 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005819, allocations: 12.75 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.005846, allocations: 30.75 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.005874, allocations: 8.891 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.005944, allocations: 109.7 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.005999, allocations: 51.97 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.006006, allocations: 384 / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.006111, allocations: 75.89 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.006119, allocations: 3.938 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.006126, allocations: 0 / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.006142, allocations: 0 / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.006177, allocations: 15.98 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.006495, allocations: 232 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.374e-05/0.006529, allocations: 26.52 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.00654, allocations: 4.859 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.006583, allocations: 15.98 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.006601, allocations: 30.56 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.006601, allocations: 0 / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.000112/0.006713, allocations: 37.69 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.006738, allocations: 51.41 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.006797, allocations: 105.8 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006808, allocations: 29.69 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.006841, allocations: 96.16 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-06/0.006845, allocations: 0 / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.006867, allocations: 17.66 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.006939, allocations: 314.8 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.006951, allocations: 7.984 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.00697, allocations: 17.72 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.006997, allocations: 25.66 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006999, allocations: 0 / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.013e-05/0.007049, allocations: 49.69 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007062, allocations: 12 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007066, allocations: 0 / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.007077, allocations: 0 / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.007111, allocations: 4 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.007117, allocations: 7.984 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.00713, allocations: 3.953 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.007139, allocations: 0 / 1.005 GB, free: 7.461 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 5.114e-05/0.00719, allocations: 113.8 kB / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.007203, allocations: 0 / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.007292, allocations: 132.9 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/0.00733, allocations: 176.5 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.01e-05/0.007371, allocations: 184.2 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-05/0.007411, allocations: 176.3 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.007548, allocations: 384.2 kB / 1.006 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.00757, allocations: 104.9 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.007593, allocations: 105 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-05/0.007629, allocations: 180.2 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.007669, allocations: 176.3 kB / 1.007 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-05/0.007712, allocations: 192.2 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.661e-05/0.007749, allocations: 176.3 kB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.874e-05/0.007838, allocations: 311.6 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.007864, allocations: 109 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.007913, allocations: 184.2 kB / 1.008 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.008006, allocations: 109 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.008046, allocations: 184.2 kB / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.008068, allocations: 108.9 kB / 1.008 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.0081, allocations: 83.28 kB / 1.008 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0081, allocations: 0 / 1.008 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001632/0.008263, allocations: 12 kB / 1.008 GB, free: 4.137 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.0003102/0.008573, allocations: 0.8323 MB / 1.009 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.842e-05/0.008632, allocations: 11.94 kB / 1.009 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008633, allocations: 0 / 1.009 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.008634, allocations: 0 / 1.009 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.008939, allocations: 473.5 kB / 1.01 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.009637, allocations: 1.324 MB / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.009677, allocations: 63.34 kB / 1.011 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.009711, allocations: 11.38 kB / 1.011 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.009734, allocations: 8.5 kB / 1.011 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.009734, allocations: 0 / 1.011 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.02315, allocations: 2.17 MB / 1.013 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.371/6.394, allocations: 10.11 kB / 1.013 GB, free: 15.26 MB / 0.9792 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.343463729135692]