Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 110.8 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 75.88 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8653, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00658/0.8719, allocations: 3.748 MB / 1.272 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002298/0.8721, allocations: 163.5 kB / 1.273 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.8721, allocations: 4 kB / 1.273 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.8722, allocations: 3.938 kB / 1.273 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.181e-05/0.8723, allocations: 11.92 kB / 1.273 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.8727, allocations: 82.73 kB / 1.273 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.8728, allocations: 43.78 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.8728, allocations: 0 / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.8729, allocations: 12 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.8729, allocations: 19.91 kB / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.8729, allocations: 0 / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.8735, allocations: 191.4 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.8735, allocations: 7.984 kB / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.8736, allocations: 7.938 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.8737, allocations: 45.72 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8737, allocations: 0 / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8737, allocations: 3.938 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.8737, allocations: 0 / 1.273 GB, free: 0.7891 MB / 0.9669 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.0004426/0.8741, allocations: 339.4 kB / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8742, allocations: 12.03 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.8742, allocations: 30.75 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.8743, allocations: 4.938 kB / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.8744, allocations: 164.3 kB / 1.273 GB, free: 160 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.8745, allocations: 30.27 kB / 1.273 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.8745, allocations: 4.125 kB / 1.274 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.8747, allocations: 37.69 kB / 1.274 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8747, allocations: 4 kB / 1.274 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.8747, allocations: 4 kB / 1.274 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.8747, allocations: 3.984 kB / 1.274 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.8748, allocations: 19.88 kB / 1.274 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.8753, allocations: 334 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.8753, allocations: 14.58 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.8753, allocations: 12.91 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.8754, allocations: 85.11 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.8755, allocations: 34.56 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8755, allocations: 0 / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.8756, allocations: 37.64 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.8756, allocations: 55.39 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.848e-05/0.8757, allocations: 101.9 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.8758, allocations: 25.83 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.8758, allocations: 96.02 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.8758, allocations: 3.953 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.8759, allocations: 17.72 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.876, allocations: 314.8 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.876, allocations: 4 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.8762, allocations: 21.7 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.8762, allocations: 25.66 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8762, allocations: 3.938 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.071e-05/0.8763, allocations: 49.62 kB / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.8763, allocations: 4 kB / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8763, allocations: 0 / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.8763, allocations: 4 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.303e-05/0.8764, allocations: 4 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.8764, allocations: 0 / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.8764, allocations: 8.062 kB / 1.275 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.8764, allocations: 4 kB / 1.275 GB, free: 14.63 MB / 0.9825 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.818e-05/0.8765, allocations: 118.3 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.8765, allocations: 4 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.8766, allocations: 112.9 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001467/0.8768, allocations: 188.6 kB / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.867e-05/0.8769, allocations: 184.3 kB / 1.275 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.833e-05/0.8769, allocations: 184.2 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.8772, allocations: 409.2 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-05/0.8773, allocations: 108.9 kB / 1.276 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.8773, allocations: 101 kB / 1.276 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.062e-05/0.8774, allocations: 184.2 kB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.8775, allocations: 188.2 kB / 1.276 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.863e-05/0.8776, allocations: 176.3 kB / 1.277 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.47e-05/0.8776, allocations: 180.2 kB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.8778, allocations: 311.7 kB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.8779, allocations: 190 kB / 1.277 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.878, allocations: 176.3 kB / 1.277 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.8782, allocations: 108.9 kB / 1.278 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.8783, allocations: 184.2 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.8783, allocations: 101 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.8784, allocations: 83.28 kB / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8784, allocations: 4 kB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002727/0.8786, allocations: 23.81 kB / 1.278 GB, free: 11.16 MB / 0.9825 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.0006938/0.8793, allocations: 0.8243 MB / 1.279 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.193e-05/0.8794, allocations: 23.94 kB / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8794, allocations: 0 / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.8794, allocations: 0 / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.8799, allocations: 455.7 kB / 1.279 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.8811, allocations: 1.329 MB / 1.281 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.8817, allocations: 0.6767 MB / 1.281 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.659e-05/0.8817, allocations: 11.36 kB / 1.281 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.8817, allocations: 7.438 kB / 1.281 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of SimCode: time 8.51e-07/0.8817, allocations: 0 / 1.281 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.9087, allocations: 1.544 MB / 1.283 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/9.016, allocations: 11.86 kB / 1.283 GB, free: 6.305 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.12691019428894]